Skip to content

Commit

Permalink
Merge pull request #34 from RHsyseng/master
Browse files Browse the repository at this point in the history
bug 1836929: Allow any IPv6 address to be configured for provisioning instead of link local scope
  • Loading branch information
openshift-merge-robot committed May 20, 2020
2 parents 6b7c420 + 44bf328 commit 9914db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ironic-common.sh
Expand Up @@ -14,7 +14,7 @@ function wait_for_interface_or_ip() {
else
until [ ! -z "${IRONIC_IP}" ]; do
echo "Waiting for ${PROVISIONING_INTERFACE} interface to be configured"
export IRONIC_IP=$(ip -br addr show dev $PROVISIONING_INTERFACE | grep -Po "[^\s]+/[0-9]+" | grep -e "^fd" -e "\." | sed -e 's%/.*%%' | head -n 1)
export IRONIC_IP=$(ip -br add show scope global up dev "${PROVISIONING_INTERFACE}" | awk '{print $3}' | sed -e 's%/.*%%' | head -n 1)
sleep 1
done
fi
Expand Down

0 comments on commit 9914db2

Please sign in to comment.