mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-02 13:17:19 +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)"
|
||||
exit
|
||||
fi
|
||||
if virsh list | grep -vq RDPWindows; then
|
||||
echo "RDPWindows is not running, run:"
|
||||
if ! virsh list --state-running --name | grep -q '^RDPWindows$'; then
|
||||
echo "RDPWindows is not running. Please run:"
|
||||
echo " virsh start RDPWindows"
|
||||
exit
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user