summaryrefslogtreecommitdiffstats
path: root/deploy/network.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-11-28 02:03:48 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-28 02:03:48 +0000
commited88ee208590a243d82e2c654dbe30b7bac72455 (patch)
treecebcb35e116fd5b423e942f17dea32e680bc74d3 /deploy/network.sh
parenta47428eefcc68db45bc91336f55b1abf85968211 (diff)
parent32da2fd1142db631edd696ceab69425bc78ce957 (diff)
Merge "up INSTALL_NIC during installation" into stable/colorado
Diffstat (limited to 'deploy/network.sh')
-rwxr-xr-xdeploy/network.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/network.sh b/deploy/network.sh
index 46b8c023..b8bcd08b 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