Hi Pentium,

On Tue, Sep 10, 2013 at 1:28 PM, Pentium100 <pentium...@gmail.com> wrote:

> Hi,
>
> 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.
>

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).


> 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)?
>

The USE permissions allows both actions [2], so there is no simple way to
change it.
Maybe it is enough for you to change the template creation wizard and
filter the Images owned by the connected user & persistent.

Regards

[1] http://opennebula.org/documentation:rel4.2:vm_guide_2#disk_snapshoting
 [2] http://opennebula.org/documentation:rel4.2:api

--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmar...@opennebula.org>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to