1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug : wait until the domin is destroyed in xen vmm

This commit is contained in:
Javi Fontan 2012-04-02 21:53:39 +02:00
parent 16003fb2f4
commit 27673e5c9a

@ -21,5 +21,17 @@ source $(dirname $0)/../../scripts_common.sh
deploy_id=$1
function gdm {
$XM_LIST | grep "$deploy_id "
}
exec_and_log "$XM_CANCEL $deploy_id" \
"Could not destroy $deploy_id"
OUT=$(gdm)
while [ -n "$OUT" ]; do
sleep 1
OUT=$(gdm)
done