aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-11-23 11:46:21 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-23 11:46:21 +0000
commit0322edd34a85ca8bf3b167beb0a8d36b2dd6c738 (patch)
treef6234af6149ccf69e8d6e27ce639c65f518fda52
parent95120f9963e65f4f050b043c3fd8caa8c6503960 (diff)
parent3bff61db1bfe39e2833d35a0b8f30af3f7a66e0c (diff)
Merge "up INSTALL_NIC during installation"
-rwxr-xr-xdeploy/network.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/network.sh b/deploy/network.sh
index 6c678222..97d71880 100755
--- 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