summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chapman <woppin@gmail.com>2016-02-04 13:46:44 +1100
committerTim Rozet <trozet@redhat.com>2016-02-04 15:27:39 +0000
commit03af4515ea9647048526215ad43dd04a1d6b6e8a (patch)
treec5ec8c718d9e50a9957bfdf7f15c0e29b762fb7a
parent1c448e3d0694db04fc1ddda32883d66a8ede0042 (diff)
Change net-create to define
This will persist networks across reboots instead of creating a transient network. Change-Id: I98b8e0c577c145197dd7195274b27ded2cc96297 (cherry picked from commit a0146be0bbe7941a2767667135f5ca8718cbd7b0)
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 3143aae9..bcd28f87 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -403,7 +403,7 @@ function configure_deps {
for network in ${OPNFV_NETWORK_TYPES}; do
ovs-vsctl list-br | grep ${NET_MAP[$network]} > /dev/null || ovs-vsctl add-br ${NET_MAP[$network]}
- virsh net-list --all | grep ${NET_MAP[$network]} > /dev/null || virsh net-create $CONFIG/${NET_MAP[$network]}-net.xml
+ virsh net-list --all | grep ${NET_MAP[$network]} > /dev/null || virsh net-define $CONFIG/${NET_MAP[$network]}-net.xml
virsh net-list | grep -E "${NET_MAP[$network]}\s+active" > /dev/null || virsh net-start ${NET_MAP[$network]}
done