Update gfxcreate.sh

This commit is contained in:
2025-11-01 12:30:52 +00:00
parent 92e53d4e25
commit 0ea3fd6610

View File

@@ -21,7 +21,7 @@ if $remove; then
ip=$(echo $line | cut -d ';' -f 1)
vmid=$(echo $ip | cut -d '.' -f 3,4 | sed 's/\.// ')
status=$(qm status $vmid | cut -d ' ' -f 2)
until [[ $status -ne "stopped" ]]
until [[ $status -eq "stopped" ]]
do
echo "$status"
echo "Waiting for VM $vmid become stopped..."