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