summaryrefslogtreecommitdiffstats
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 14:18:50 +0800
commitda8ccfe3c89726673ff6c3d2a967fd670d40b6fd (patch)
treeb541c622735bd224cad1008a0220f9611cdbd727
parente94285f04a7560a2c5c68a1bc957d5fddf681c41 (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>
-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() {