Dear Upendra, That is an interesting functionality request. I've opened a ticket [1] to keep track of this, we will evaluate it and include it in next releases.
Meanwhile, a possible workaround would be to use the RAW attribute (see last section of [2]), to specify a <disk> without a source attribute. Regards, -Tino [1] http://dev.opennebula.org/issues/304 [2] http://opennebula.org/documentation:rel1.4:template -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Mon, Aug 2, 2010 at 10:18 AM, Upendra Moturi <[email protected]> wrote: > Hi, > > I would like to mount a cdrom to a running vm. > For this virsh has a functionality to attach disk in assumption that there > is dev target (eg sdc). > It also allows us to create a <disk></disk> tag without source tag being > defined. > > <disk type='file' device='cdrom'> > <target dev='hdc'/> > <readonly/> > </disk> > > But opennebula template has this source attribute as a compulsory field. > > Is there any option to create a template,without defining source attribute > for cdrom . > > -- > Thanks and Regards, > Upendra.M > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
