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

This commit is contained in:
Javi Fontan committed 2016-03-01 15:07:01 +01:00
1 parent f30c15ed6d
commit 70e5c9d652
1 file changed
+1 -1
+1 -1
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"