aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/network.sh
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-06-15 14:18:50 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-06-15 09:37:43 +0000
commitc8e9084e0108a72c3e46f6638f16056f39203537 (patch)
tree70b66587e2d398d53e1206b1a844aab3fe547447 /deploy/network.sh
parent579f918a8a8cef7024dcfa8774bb7933adfd30be (diff)
Specify netmask for install NIC
JIRA: COMPASS-599 Interface that be used as install NIC may have uncertain netmask which may cause network issue. Change-Id: Ic10709ca82a0d16af614ac327160f97a654d2294 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit da8ccfe3c89726673ff6c3d2a967fd670d40b6fd)
Diffstat (limited to 'deploy/network.sh')
-rwxr-xr-xdeploy/network.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/network.sh b/deploy/network.sh
index eea62277..ebe0eece 100755
--- a/deploy/network.sh
+++ b/deploy/network.sh
@@ -143,7 +143,7 @@ function setup_baremetal_net() {
exit 1
fi
sudo ifconfig $INSTALL_NIC up
- sudo ifconfig $INSTALL_NIC $INSTALL_GW
+ sudo ifconfig $INSTALL_NIC $INSTALL_GW netmask $INSTALL_NETMASK
}
function recover_baremetal_net() {