Hi,<br><br>You can update only Template resources, those managed with onetemplate.<br>Once a VM is instantiated from a template, you can't modify it.<br><br>Regards.<br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial,sans-serif;font-size:13px">--<br>
Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br><a href="http://www.OpenNebula.org">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank"></a></span><br>
<br><br><div class="gmail_quote">On Mon, Oct 31, 2011 at 4:41 PM, Paulo A L Rego <span dir="ltr"><<a href="mailto:pauloalr.alu@gmail.com">pauloalr.alu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br></div><div>is it possible to change the virtual machine's template while the vm is in pending state?<div> </div><div>We can see the template by using <i>vm.template_str</i> and the xml using <i>vm.to_xml</i>.</div>
<div>Can we update the template or the xml before deploying?</div></div><div><br></div><div>I would like to update the name and/or include other fields at template.</div><div><br></div><div>Thanks a lot.</div><div>Paulo Rego</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>