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