Ignore non-functioning virsh network

This commit is contained in:
Manuel Thalmann 2024-03-25 03:01:29 +01:00
parent 87a25ce378
commit 3b2a5fb9cf

View file

@ -4,5 +4,5 @@ sudo virsh net-autostart default;
if ! sudo virsh net-info default | grep "^Active:\s*yes$" > /dev/null;
then
sudo virsh net-start default;
sudo virsh net-start default || true;
fi;