Eject a CD-ROM on ESXi

Abiquo 5.2.1 enables you to eject an ISO CD-ROM disk from a VM and delete it from the datastore, leaving an empty CD-ROM drive on the VM, which you can later delete.

To configure Abiquo to eject CD-ROMs:

  1. On the Remote Services server, edit the abiquo.properties file and set the following property.

    com.abiquo.esxi.experimental.dvd.nodelete=true
  2. In Abiquo, allow disk hot-reconfigure: edit VM templates and select it on the Advanced tab

To delete an ISO disk (captured or created) using the eject functionality:

  1. Edit the VM and delete the ISO disk

    1. Abiquo will delete the ISO file from the datastore but keep the CD drive as a Client Device in device mode Passthrough CD-ROM. 

      1. Abiquo will automatically answer the system boot prompt to force eject from a locked device

      The ISO disk will now have no file reference and the disk capacity will be 0. It will continue to occupy one of four slots on an IDE controller.

  2. To remove the empty CD-ROM drive from Abiquo and the hypervisor:

    1. If the ISO disk is attached to an IDE controller, power off the VM

    2. Edit the VM and delete the CD-ROM drive

Note that Abiquo will move the CD-ROM drive to the last position in the boot sequence after you reconfigure a VM to add any extra disks. This means that when you delete an ISO drive, it will not affect the boot order. 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved