File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -679,7 +679,6 @@ _EOF_
679679 # Assemble CI ISO disk parameters.
680680 CI_ISO_PARAMS=" $( join ' ,' \
681681 ${CI_ISO} \
682- $( param device ${CI_ISO_DEVICE} ) \
683682 ${CI_ISO_EXTRA} ) "
684683
685684 # Omit the --graphics option to auto-detect.
@@ -730,7 +729,7 @@ _EOF_
730729 fi
731730
732731 # Eject cdrom
733- virsh change-media ${VMNAME} --path ${VMDIR} /${VMNAME} /${CI_ISO} --eject --config & >> ${VMNAME} .log
732+ virsh detach-disk --domain ${VMNAME} ${VMDIR} /${VMNAME} /${CI_ISO} --config & >> ${VMNAME} .log
734733
735734 # Remove the unnecessary cloud init files
736735 outputn " Cleaning up cloud-init files"
@@ -839,7 +838,6 @@ function set_defaults ()
839838 NETWORK_EXTRA=" "
840839 DISK_BUS=virtio
841840 DISK_EXTRA=" "
842- CI_ISO_DEVICE=cdrom
843841 CI_ISO_EXTRA=" "
844842 GRAPHICS_LISTEN=localhost
845843 GRAPHICS_EXTRA=" "
You can’t perform that action at this time.
0 commit comments