diff options
author | Justin chi <chigang@huawei.com> | 2017-11-13 07:04:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-11-13 07:04:04 +0000 |
commit | 80d496b43d43068f12a45bfc0147ccdce9dac794 (patch) | |
tree | c52a881e5a6982435166dd9728842111e01e188c | |
parent | 805cbb914fa5927b4b04ea124870c66ecbcba6cc (diff) | |
parent | 886145f77ff316bd929758d8795d1d0ee9cd011f (diff) |
Merge "Auto start bridge on jumphost"
-rwxr-xr-x | deploy/network.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/network.sh b/deploy/network.sh index 218dc1d6..698771b3 100755 --- a/deploy/network.sh +++ b/deploy/network.sh @@ -29,6 +29,7 @@ function setup_bridge_net() sudo virsh net-define $WORK_DIR/network/$net_name.xml sudo virsh net-start $net_name + sudo virsh net-autostart $net_name } function recover_bridge_net() @@ -83,6 +84,7 @@ function setup_bridge_external() sudo virsh net-define $WORK_DIR/network/external.xml sudo virsh net-start external + sudo virsh net-autostart external python $COMPASS_DIR/deploy/setup_vnic.py } @@ -115,6 +117,7 @@ function setup_nat_net() { sudo virsh net-define $WORK_DIR/network/$net_name.xml sudo virsh net-start $net_name + sudo virsh net-autostart $net_name } function recover_nat_net() { |