Skip to content

Commit

Permalink
Merge pull request metal3-io#247 from zaneb/openshift/coreos-ipv6
Browse files Browse the repository at this point in the history
Use IPv6-friendly URLs for CoreOS
  • Loading branch information
openshift-merge-robot committed Dec 16, 2021
2 parents 549bf01 + ad25960 commit aa180b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/coreos-ipa-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ IGNITION_FILE=${IGNITION_FILE:-/shared/html/ironic-python-agent.ign}
ISO_FILE=${ISO_FILE:-/shared/html/images/ironic-python-agent.iso}

function coreos_kernel_params {
echo -n "coreos.live.rootfs_url=http://$IRONIC_IP:$HTTP_PORT/images/ironic-python-agent.rootfs"
echo -n "coreos.live.rootfs_url=http://${IRONIC_URL_HOST}:$HTTP_PORT/images/ironic-python-agent.rootfs"
if [ -f "$IGNITION_FILE" ]; then
echo -n " ignition.config.url=http://$IRONIC_IP:$HTTP_PORT/ironic-python-agent.ign"
echo -n " ignition.config.url=http://${IRONIC_URL_HOST}:$HTTP_PORT/ironic-python-agent.ign"
fi
echo " ignition.firstboot ignition.platform.id=metal"
}
Expand Down

0 comments on commit aa180b5

Please sign in to comment.