[one-users] Ruby oca - change templates

Carlos Martín Sánchez cmartin at opennebula.org
Mon Oct 31 10:02:08 PDT 2011


Hi,

You can update only Template resources, those managed with onetemplate.
Once a VM is instantiated from a template, you can't modify it.

Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Mon, Oct 31, 2011 at 4:41 PM, Paulo A L Rego <pauloalr.alu at gmail.com>wrote:

> Hi,
>
> is it possible to change the virtual machine's template while the vm is in
> pending state?
>
> We can see the template by using *vm.template_str* and the xml using *
> vm.to_xml*.
> Can we update the template or the xml before deploying?
>
> I would like to update the name and/or include other fields at template.
>
> Thanks a lot.
> Paulo Rego
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111031/e02f9195/attachment-0003.htm>


More information about the Users mailing list