Skip to content

Commit

Permalink
Merge pull request openshift#408 from elfosardo/process-subs
Browse files Browse the repository at this point in the history
OCPBUGS-21876: Use bash process substitution instead of pipe
  • Loading branch information
openshift-ci[bot] committed Oct 23, 2023
2 parents 968d5b9 + a8facde commit cec9f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ironic-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ wait_for_interface_or_ip()
# Convert the address using ipcalc which strips out the subnet. For IPv6 addresses, this will give the short-form address
IRONIC_IP="$(ipcalc "${PROVISIONING_IP}" | grep "^Address:" | awk '{print $2}')"
export IRONIC_IP
until ip -br addr show | grep -q -F " ${IRONIC_IP}/"; do
until grep -F " ${IRONIC_IP}/" <(ip -br addr show); do
echo "Waiting for ${IRONIC_IP} to be configured on an interface"
sleep 1
done
Expand Down

0 comments on commit cec9f68

Please sign in to comment.