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

feature #4215: force ejection of cdrom to reconfigure (KVM)

This commit is contained in:
Javi Fontan 2016-03-01 14:55:12 +01:00
parent f30c15ed6d
commit 70e5c9d652

View File

@ -22,7 +22,7 @@ source $(dirname $0)/../../scripts_common.sh
DOMAIN=$1
TARGET_DEVICE=$2
CMD="virsh --connect $LIBVIRT_URI change-media $DOMAIN $TARGET_DEVICE --eject"
CMD="virsh --connect $LIBVIRT_URI change-media $DOMAIN $TARGET_DEVICE --eject --force"
exec_and_log "$CMD" "Could not eject CDROM $TARGET_DEVICE"