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:
b15421a
)
up INSTALL_NIC during installation
47/24647/1
author
QiLiang
<liangqi1@huawei.com>
Tue, 22 Nov 2016 03:55:31 +0000
(11:55 +0800)
committer
QiLiang
<liangqi1@huawei.com>
Tue, 22 Nov 2016 03:55:31 +0000
(11:55 +0800)
Some jumpserver's INSTALL_NIC is down during compass4nfv installation,
this will cause pxe boot failure. So add auto up the INSTALL_NIC during
installation.
JIRA: -
Change-Id: I109b45360edf03e575f00e88d4b2ce12c01b2869
Signed-off-by: QiLiang <liangqi1@huawei.com>
deploy/network.sh
patch
|
blob
|
history
diff --git
a/deploy/network.sh
b/deploy/network.sh
index
6c67822
..
97d7188
100755
(executable)
--- a/
deploy/network.sh
+++ b/
deploy/network.sh
@@
-17,6
+17,8
@@
function setup_bridge_net()
net_name=$1
nic=$2
+ sudo ifconfig $nic up
+
sudo virsh net-destroy $net_name
sudo virsh net-undefine $net_name