Code Review
/
compass4nfv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e94285f
)
Specify netmask for install NIC
65/58565/1
author
Harry Huang
<huangxiangyu5@huawei.com>
Fri, 15 Jun 2018 06:18:50 +0000
(14:18 +0800)
committer
Harry Huang
<huangxiangyu5@huawei.com>
Fri, 15 Jun 2018 06:18:50 +0000
(14:18 +0800)
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>
deploy/network.sh
patch
|
blob
|
history
diff --git
a/deploy/network.sh
b/deploy/network.sh
index
eea6227
..
ebe0eec
100755
(executable)
--- 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() {