[one-users] Persistent and non persistent images - is there a way to convert between them? Image permissions.

Carlos Martín Sánchez cmartin at opennebula.org
Wed Sep 11 06:40:05 PDT 2013


Hi Pentium,

On Tue, Sep 10, 2013 at 1:28 PM, Pentium100 <pentium100 at 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/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmartin at opennebula.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130911/966946b5/attachment-0002.htm>


More information about the Users mailing list