[one-ecosystem] Modification of oneimage create

Humberto N. Castejon Martinez humcasma at gmail.com
Tue Nov 8 00:47:29 PST 2011


Gooood!

It is then extremely easy to adapt/change the image repository management
behavior.
I am loving Opennebula's modular architecture. Well done.

Cheers,
Humberto

2011/11/7 Carlos Martín Sánchez <cmartin at opennebula.org>

> Hi,
>
> The Image files are managed by the oned core daemon, not the CLI commands.
> To do so it uses image drivers, you can create a new set of drivers
> following the documentation:
> http://opennebula.org/documentation:rel3.0:image_repo
>
> Regards.
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula>
>
>
> On Sat, Nov 5, 2011 at 9:37 PM, Humberto N. Castejon Martinez <
> humcasma at gmail.com> wrote:
>
>> Hi,
>>
>> I am deploying a ZFS-based shared storage solution for Opennebula
>> following the directions in here:
>> http://mperedim.wordpress.com/2010/09/26/opennebula-zfs-and-xen-–-part-2-instant-cloning/
>>
>> In order to automatize the whole process, I want to modify the "oneimage
>> create" command so that, instead of just storing the image in
>> /var/lib/one/images, it creates a ZFS dataset with the same name of the
>> image in /var/lib/one/images and stores the image inside that dataset. I
>> have been looking to the source code of oneimage, but I know nothing about
>> Ruby and have not been able so far to find the actual place where the image
>> is copied into the repository directory (I guess it is in another file).
>> Could you please tell me where this code is? Thanks!
>>
>>
>> Cheers,
>> Humberto
>>
>> _______________________________________________
>> Ecosystem mailing list
>> Ecosystem at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/ecosystem-opennebula.org/attachments/20111108/0b59533a/attachment-0001.htm>


More information about the Ecosystem mailing list