Feature #5150
Support for adding virtual CDROM
Status: | Closed | Start date: | 05/11/2017 | |
---|---|---|---|---|
Priority: | Normal | Due 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
History
#1 Updated by kvaps kvaps about 4 years ago
#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
- Duplicates Feature #3147: Change CDROM media added