Hi,<br><br>The Image files are managed by the oned core daemon, not the CLI commands. <br>To do so it uses image drivers, you can create a new set of drivers following the documentation:<br><a href="http://opennebula.org/documentation:rel3.0:image_repo">http://opennebula.org/documentation:rel3.0:image_repo</a><br>
<br>Regards.<br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial,sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<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><br>
<br><br><div class="gmail_quote">On Sat, Nov 5, 2011 at 9:37 PM, Humberto N. Castejon Martinez <span dir="ltr"><<a href="mailto:humcasma@gmail.com">humcasma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi,<br></div><div><br></div><div>I am deploying a ZFS-based shared storage solution for Opennebula following the directions in here: <a href="http://mperedim.wordpress.com/2010/09/26/opennebula-zfs-and-xen-%E2%80%93-part-2-instant-cloning/" target="_blank">http://mperedim.wordpress.com/2010/09/26/opennebula-zfs-and-xen-–-part-2-instant-cloning/</a></div>
<div><br></div><div>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!</div>
<div><br></div><div><br></div><div>Cheers,</div><div>Humberto</div>
<br>_______________________________________________<br>
Ecosystem mailing list<br>
<a href="mailto:Ecosystem@lists.opennebula.org">Ecosystem@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org</a><br>
<br></blockquote></div><br>