diff options
author | Michael Chapman <woppin@gmail.com> | 2016-02-04 13:46:44 +1100 |
---|---|---|
committer | Michael Chapman <woppin@gmail.com> | 2016-02-04 13:46:44 +1100 |
commit | a0146be0bbe7941a2767667135f5ca8718cbd7b0 (patch) | |
tree | b4606f75ed37b285bf335d1751b26bfda9af1ce6 | |
parent | 1f5d6b79ba6c0160a970dc91e29d898c32387fc9 (diff) |
Change net-create to define
This will persist networks across reboots instead of creating a
transient network.
Change-Id: I98b8e0c577c145197dd7195274b27ded2cc96297
-rwxr-xr-x | ci/deploy.sh | 2 |
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 |