devstack - fix IPv6 ping

Remove the $ in the condition so that we don't attept to
execute the output from ping (i.e PING - unknown command)

Change-Id: Ic90f7c93d9a7b86fbf3f2cdef46bc1b2bbea489d
This commit is contained in:
Harald Jensås 2023-08-30 12:45:44 +02:00
parent c56440cc2f
commit aa2dad9f75
No known key found for this signature in database
GPG Key ID: 693852E00DCEA408

View File

@ -1364,7 +1364,7 @@ function configure_ironic_provision_network {
# with our global address, but iPXE seems to have in
# consistant behavior in this configuration with devstack.
# so we will setup a dummy interface and use that.
if ! $( ping -c1 -w1 $IRONIC_HOST_IPV6 ); then
if ! ( ping -c1 -w1 $IRONIC_HOST_IPV6 ); then
# But before we create an interface, lets make sure it is
# not already working.
sudo ip link add magicv6 type dummy