diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-06-15 14:18:50 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-06-15 14:18:50 +0800 |
commit | da8ccfe3c89726673ff6c3d2a967fd670d40b6fd (patch) | |
tree | b541c622735bd224cad1008a0220f9611cdbd727 /deploy/network.sh | |
parent | e94285f04a7560a2c5c68a1bc957d5fddf681c41 (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>
Diffstat (limited to 'deploy/network.sh')
-rwxr-xr-x | deploy/network.sh | 2 |
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() { |