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