From aa2dad9f7594682e3118eb9d940f883a02cdd553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Wed, 30 Aug 2023 12:45:44 +0200 Subject: [PATCH] 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 --- devstack/lib/ironic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/lib/ironic b/devstack/lib/ironic index de5c227045..882b5f6dc1 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -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