mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-04 17:47:00 +03:00
parent
08312c7fbf
commit
2fef0c3823
@ -237,7 +237,9 @@ if [ $RC -ne 0 ]; then
|
||||
virsh --connect $QEMU_PROTOCOL://$DEST_HOST/system "${CLEAN_OP}" $DEPLOY_ID >/dev/null 2>&1
|
||||
done
|
||||
|
||||
ssh $DEST_HOST "rm -rf $VM_DIR"
|
||||
if [ "$SHARED" != "YES" ]; then
|
||||
ssh $DEST_HOST "rm -rf $VM_DIR"
|
||||
fi
|
||||
|
||||
error_message "Could not migrate $DEPLOY_ID to $DEST_HOST"
|
||||
exit $RC
|
||||
|
Loading…
x
Reference in New Issue
Block a user