Code Review
/
joid.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
cc9e540
)
modfiied to use admin as default for VM.
83/54683/1
author
Narinder Gupta
<narinder.gupta@canonical.com>
Sat, 31 Mar 2018 08:41:18 +0000
(
03:41
-0500)
committer
Narinder Gupta
<narinder.gupta@canonical.com>
Sat, 31 Mar 2018 08:42:12 +0000
(
03:42
-0500)
Change-Id: I22aef2a36ae7ba08681c1c202d20726d1a605ad1
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/03-maasdeploy.sh
patch
|
blob
|
history
diff --git
a/ci/03-maasdeploy.sh
b/ci/03-maasdeploy.sh
index
ab144a5
..
869d97e
100755
(executable)
--- a/
ci/03-maasdeploy.sh
+++ b/
ci/03-maasdeploy.sh
@@
-212,9
+212,10
@@
sudo virsh pool-autostart default || true
# As we use kvm so setup network on admin network
ADMIN_BR=`cat labconfig.json | jq '.opnfv.spaces[] | select(.type=="admin")'.bridge | cut -d \" -f 2 `
sed -i "s@brAdm@$ADMIN_BR@" net.xml
-sudo virsh net-destroy default
-sudo virsh net-define net.xml
-sudo virsh net-start default
+sudo virsh net-destroy default || true
+sudo virsh net-undefine default || true
+sudo virsh net-define net.xml || true
+sudo virsh net-start default || true
#
# Cleanup, juju init and config backup