Merge "Allow the user to modify the external network ips"

This commit is contained in:
Zuul 2019-08-19 15:13:04 +00:00 committed by Gerrit Code Review
commit 1d5b298d14

View File

@ -16,8 +16,8 @@
set -xe
# Assign IP address to br-ex
OSH_BR_EX_ADDR="172.24.4.1/24"
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"}
sudo ip addr add ${OSH_BR_EX_ADDR} dev br-ex
sudo ip link set br-ex up