Gitiles
Code Review
Sign In
gerrit.opencord.org
/
platform-install
/
0481a8a24663eb00213168197db0d434b7ce5f16
/
.
/
scripts
/
recreate-virbr0.sh
blob: d38a6d5883eb94c9325a133a713bbf60eb247739 [
file
] [
log
] [
blame
]
Andy Bavier
2622d4e
2015-10-23 15:59:08 -0400
[
diff
] [
blame
]
1
#!/bin/sh
2
3
FILE
=/
etc
/
libvirt
/
qemu
/
networks
/
default
.
xml
4
5
cp $FILE $FILE
.
tmp
6
virsh net
-
destroy default
7
virsh net
-
undefine default
8
9
cp $FILE
.
tmp $FILE
10
virsh net
-
create $FILE