mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
parent
4d80a8d725
commit
8c9d8087af
@ -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