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:
parent
d835121691
commit
be65145b93
@ -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
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user