Ignore non-functioning virsh
network
This commit is contained in:
parent
87a25ce378
commit
3b2a5fb9cf
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ sudo virsh net-autostart default;
|
||||||
|
|
||||||
if ! sudo virsh net-info default | grep "^Active:\s*yes$" > /dev/null;
|
if ! sudo virsh net-info default | grep "^Active:\s*yes$" > /dev/null;
|
||||||
then
|
then
|
||||||
sudo virsh net-start default;
|
sudo virsh net-start default || true;
|
||||||
fi;
|
fi;
|
||||||
|
|
Loading…
Reference in a new issue