<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/">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>