Gitiles
Code Review
Sign In
gerrit.opencord.org
/
platform-install
/
bed0e74f9306e96aebecb29d0bc6599eae997b33
/
.
/
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