diff --git a/scripts/Common/Config/Virtual Machine Manager/install.sh b/scripts/Common/Config/Virtual Machine Manager/install.sh index ce5b7aca..152ab664 100755 --- a/scripts/Common/Config/Virtual Machine Manager/install.sh +++ b/scripts/Common/Config/Virtual Machine Manager/install.sh @@ -1,4 +1,8 @@ #!/bin/bash sudo usermod -aG libvirt "$USER"; sudo virsh net-autostart default; -sudo virsh net-start default; + +if ! sudo virsh net-info default | grep "^Active:\s*yes$" > /dev/null; +then + sudo virsh net-start default; +fi;