diff --git a/tools/deployment/developer/common/170-setup-gateway.sh b/tools/deployment/developer/common/170-setup-gateway.sh index 270cb2c143..b626843556 100755 --- a/tools/deployment/developer/common/170-setup-gateway.sh +++ b/tools/deployment/developer/common/170-setup-gateway.sh @@ -16,7 +16,7 @@ set -xe # Assign IP address to br-ex : ${OSH_EXT_SUBNET:="172.24.4.0/24"} : ${OSH_BR_EX_ADDR:="172.24.4.1/24"} -sudo ip addr add ${OSH_BR_EX_ADDR} dev br-ex +sudo ip addr replace ${OSH_BR_EX_ADDR} dev br-ex sudo ip link set br-ex up : ${DNSMASQ_IMAGE:=docker.io/openstackhelm/neutron:xena-ubuntu_focal}