Update gfxcreate.sh
This commit is contained in:
@@ -20,7 +20,7 @@ if $remove; then
|
||||
do
|
||||
ip=$(echo $line | cut -d ';' -f 1)
|
||||
vmid=$(echo $ip | cut -d '.' -f 3,4 | sed 's/\.// ')
|
||||
until [[ (qm status $vmid | cut -d ' ' -f 2) -ne "stopped" ]]
|
||||
until [[ $(qm status $vmid | cut -d ' ' -f 2) -ne "stopped" ]]
|
||||
do
|
||||
echo "Waiting for VM $vmid become stopped..."
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user