summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-08-30 09:19:13 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-08-30 09:31:49 +0800
commitfd8f9747f93b6a6d40c32ae5b727780fe1206039 (patch)
treea651f8dbd9e40a0af6af6025a23bde10fcf09d7f /deploy
parent760c966b5095fb0cfe0a2ac4014a337531a8df1d (diff)
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 <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/network.sh4
1 files 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