<div dir="ltr">Thanks alot.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 19, 2014 at 12:04 PM, Karli Sjöberg <span dir="ltr"><<a href="mailto:Karli.Sjoberg@slu.se" target="_blank">Karli.Sjoberg@slu.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 2014-02-19 at 11:52 +0530, Tejesh M wrote:<br>
> Hi All,<br>
><br>
><br>
> I'm not able to Delete Template, if the VM is exists which is deployed<br>
> from that Template. How can i delete Template leaving the VM as is?<br>
><br>
><br>
> Thanks & Regards,<br>
><br>
> Tejesh<br>
><br>
<br>
In case you aren´t aware, oVirt actually does that for a very good<br>
reason. This way you can create _1_ template, then create _1000_ VM's,<br>
and they´ll only take up the space of that single template, and then<br>
build up on the changes that are "new" for each VM.<br>
<br>
If you want to be able to still delete a template, I suggest you choose<br>
to provision new VM's "cloned" from that template, instead of "thin".<br>
You can however just rename it to something else like<br>
"deprecated_template01" and leave it like that.<br>
<br>
Otherwise your only option is to create a new disk for that VM, start it<br>
up from a Live-CD and "dd" the operating disk over onto the new, then<br>
delete the old disk, perhaps rename the new disk from "_Disk2" to<br>
"_Disk1" instead and remember to mark it "Bootable". Repeat this process<br>
for every VM that is thin provisioned from this template and then you<br>
can finally delete the template.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
<br>
Med Vänliga Hälsningar<br>
<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences Box 7079 (Visiting Address<br>
Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: +46-(0)18-67 15 66<br>
<a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div>Thanks & Regards</div>
<div>Tejesh</div>
</div>