<div dir="ltr">Hi Pentium,<div><br></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 10, 2013 at 1:28 PM, Pentium100 <span dir="ltr"><<a href="mailto:pentium100@gmail.com" target="_blank">pentium100@gmail.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>Let's say a user created a VM using a non persistent image (a template). Is there a way to now clone the image and make it persistent (remember - the user does not own the original non persistent image) without losing data.<br>





</div></div></blockquote><div><br></div><div>Yes, the user can do a disk snapshot [1]. This saves the disk as a new image once the VM is shutdown (or immediately if the snapshot is live).</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div dir="ltr"><div></div>Alternatively, is there a way to allow a user to clone the image but not allow him to use the original (clone, make persistent, then use)?<br></div></blockquote><div><br></div><div>The USE permissions allows both actions [2], so there is no simple way to change it.</div>

<div>Maybe it is enough for you to change the template creation wizard and filter the Images owned by the connected user & persistent.</div>


<div><div><div dir="ltr"><br></div><div>Regards</div><div dir="ltr"><br></div><div dir="ltr">[1] <a href="http://opennebula.org/documentation:rel4.2:vm_guide_2#disk_snapshoting" target="_blank">http://opennebula.org/documentation:rel4.2:vm_guide_2#disk_snapshoting</a><br>



</div><div dir="ltr">
[2] <a href="http://opennebula.org/documentation:rel4.2:api" target="_blank">http://opennebula.org/documentation:rel4.2:api</a><br></div><div dir="ltr"><br>
--<br>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div>





<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@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></div>





</div><div><br></div></div></div></div></div></div></div>