mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-03 21:57:18 +02:00
Improved detection of running VMs.
This commit is contained in:
parent
47596d6dde
commit
782c364f4d
@ -65,8 +65,8 @@ if [ -z "$RDP_IP" ]; then
|
|||||||
echo " sudo usermod -a -G kvm $(whoami)"
|
echo " sudo usermod -a -G kvm $(whoami)"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if virsh list | grep -vq RDPWindows; then
|
if ! virsh list --state-running --name | grep -q '^RDPWindows$'; then
|
||||||
echo "RDPWindows is not running, run:"
|
echo "RDPWindows is not running. Please run:"
|
||||||
echo " virsh start RDPWindows"
|
echo " virsh start RDPWindows"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user