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