From 03af4515ea9647048526215ad43dd04a1d6b6e8a Mon Sep 17 00:00:00 2001 From: Michael Chapman Date: Thu, 4 Feb 2016 13:46:44 +1100 Subject: 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) --- ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg