Feature #5150

Support for adding virtual CDROM

Added by kvaps kvaps about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:05/11/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:-
Resolution:duplicate Pull request:

Description

I propose you to add virtual cdroms support.
As virtual cdroms are use ide bus, we can do this like other hard drives:

In sunstone interface it may look like option when attaching new images.
Along with this options "Image" "Volatile disk", we can add option "CDROM"

In the template config it may look like:

DISK = [
  TYPE = "cdrom" ]

Or like this, if you attached any image:

DISK = [
  TYPE = "cdrom",
  IMAGE = "ubuntu-16.04.2-server-amd64.iso",
  IMAGE_UNAME = "kvaps" ]

Any other settings is same, but need to allow this type without any image setting.

On libvirt level it will look like:

<disk type='file' device='cdrom'>
   <target dev='hdc' bus='ide'/>
   <readonly/>
</disk>

When vm is created, in storage tab it need to have option to attach or detach some iso file into this cdrom.
It may look like two new actions along with "Save as", "Detach", "Snapshot" actions in Sunstone interface.

This actions may use "attach_disk" script from vmm driver for attach needed iso file inplace cdrom or use same script for attach empty xml inplace this CDROM for detaching.


Related issues

Duplicates Feature #3147: Change CDROM media Pending 08/11/2014

History

#2 Updated by Ruben S. Montero about 4 years ago

  • Status changed from Pending to Closed
  • Resolution set to duplicate

Closing as duplicate. Thanks for the detailed issue :)

#3 Updated by Ruben S. Montero about 4 years ago

Also available in: Atom PDF