aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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