From 90b747ac669ee8985335930945ee6fe20d8157fa Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Wed, 29 Jan 2020 12:04:19 +0100 Subject: [PATCH] Fix typo in setup-network.sh script Removing a $ sign that shouldn't be there and can cause trouble. Change-Id: I59a046c06334a3366d0c7070114446efa832df23 --- devstack/tools/ironic/scripts/setup-network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/tools/ironic/scripts/setup-network.sh b/devstack/tools/ironic/scripts/setup-network.sh index e2dfc26662..ee64520052 100755 --- a/devstack/tools/ironic/scripts/setup-network.sh +++ b/devstack/tools/ironic/scripts/setup-network.sh @@ -20,7 +20,7 @@ PUBLIC_BRIDGE_MTU=${2:-1500} export VIRSH_DEFAULT_CONNECT_URI="$LIBVIRT_CONNECT_URI" # Only add bridge if missing. Bring it UP. -(sudo ovs-vsctl list-br | grep ${BRIDGE_NAME}$) || sudo ovs-vsctl add-br ${BRIDGE_NAME} +(sudo ovs-vsctl list-br | grep ${BRIDGE_NAME}) || sudo ovs-vsctl add-br ${BRIDGE_NAME} sudo ip link set dev ${BRIDGE_NAME} up # Remove bridge before replacing it.