1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

Feature #3473: Add virsh migrate --unsafe option to kvmrc

This commit is contained in:
Carlos Martín 2015-02-16 18:56:49 +01:00
parent d835121691
commit be65145b93
2 changed files with 3 additions and 1 deletions

View File

@ -35,3 +35,5 @@ export SHUTDOWN_TIMEOUT=300
# method set (can be set using templates when attaching a disk).
#DEFAULT_ATTACH_CACHE=none
# Uncomment this line to set options for the virsh migrate command
#MIGRATE_OPTIONS=--unsafe

View File

@ -22,5 +22,5 @@ source $(dirname $0)/../../scripts_common.sh
deploy_id=$1
dest_host=$2
exec_and_log "virsh --connect $LIBVIRT_URI migrate --live $deploy_id $QEMU_PROTOCOL://$dest_host/system" \
exec_and_log "virsh --connect $LIBVIRT_URI migrate --live $MIGRATE_OPTIONS $deploy_id $QEMU_PROTOCOL://$dest_host/system" \
"Could not migrate $deploy_id to $dest_host"