From fd8f9747f93b6a6d40c32ae5b727780fe1206039 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Wed, 30 Aug 2017 09:19:13 +0800 Subject: Fix install netmask Netmask of install network is parsed from netwok.yml now. A var named INSTALL_NETWORK will be generated in script/deploy_config.sh and exported. But var of install mask in deploy/network.sh is called INSTALL_MASK. This mismatch cause empty netmask of install network. Change-Id: I2a468844a74a9c38481615d6353149fa74ccbcd9 Signed-off-by: Harry Huang --- deploy/network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/network.sh b/deploy/network.sh index e50f52a6..218dc1d6 100755 --- a/deploy/network.sh +++ b/deploy/network.sh @@ -124,7 +124,7 @@ function recover_nat_net() { } function setup_virtual_net() { - setup_nat_net install $INSTALL_GW $INSTALL_MASK + setup_nat_net install $INSTALL_GW $INSTALL_NETMASK setup_nat_net external_nat $EXT_NAT_GW $EXT_NAT_MASK $EXT_NAT_IP_START $EXT_NAT_IP_END } @@ -170,7 +170,7 @@ function create_nets() { setup_"$TYPE"_net # create external network -# setup_bridge_external + # setup_bridge_external clear_forward_rejct_rules setup_network_boot_scripts -- cgit 1.2.3-korg