Use cdrom type for context block devices
|Assignee:||Jaime Melis||% Done:|
|Category:||Core & System|
A bug reported in the mailing list by Shi Jin:
However, it does not work at all
On the other hand, I found that if we make it a cdrom device instead
of a disk, it works on both systems. The XML would be
<disk type='file' device='cdrom'>
<target dev='hdb' bus='ide'/>
I see two ways to accomplish this
1. change the context behavior to cdrom device completely. This should
2. give the user the freedom to choose either a cdrom or disk device.
This will be completely compatible with previous setup.
It may be better to always use cdrom type for the iso images.
#1 Updated by Jaime Melis over 11 years ago
- Assignee changed from Ruben S. Montero to Jaime Melis
- % Done changed from 0 to 50
The device generated by a context iso is now changed to cdrom, in the case of libvirt. We have tested it and it works. Please note that this has an impact in contextualization, for instance, in ubuntu the target device must be hd* instead of sd*. This has to be detailed in the documentation.