Merge "make 170-setup-gateway idempotent"

This commit is contained in:
Zuul 2022-07-25 15:32:53 +00:00 committed by Gerrit Code Review
commit ffc9c3788d

View File

@ -16,7 +16,7 @@ set -xe
# Assign IP address to br-ex # Assign IP address to br-ex
: ${OSH_EXT_SUBNET:="172.24.4.0/24"} : ${OSH_EXT_SUBNET:="172.24.4.0/24"}
: ${OSH_BR_EX_ADDR:="172.24.4.1/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 sudo ip link set br-ex up
: ${DNSMASQ_IMAGE:=docker.io/openstackhelm/neutron:xena-ubuntu_focal} : ${DNSMASQ_IMAGE:=docker.io/openstackhelm/neutron:xena-ubuntu_focal}