<div dir="ltr">That's unfortunate. Is there any particular reason it was removed? I think having a 'directory' format, or even a 'mount' one where libguestfs handles mounting/unmounting would be nice.<br>

<br>Thanks for the help nevertheless,<br>Daniel<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 3:08 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Aug 19, 2014 at 01:11:02PM -0300, Daniel Miranda wrote:<br>
> I'm setting up a system to run LXC containers with ZFS on Linux (Ubuntu<br>
> 14.04). I intend to set up a base image which I'd like to clone to create<br>
> other containers from. virt-sysprep and virt-customize seem ideal for the<br>
> task: I obviously could mount and work with the rootfs from each container<br>
> directly, but the libguestfs tools have a bunch of pre-existing recipes<br>
> that would surely be much better than what I'd come up with on my own.<br>
><br>
> Unfortunately, I can't seem to find any way to tell the tools to work<br>
> directly on an already mounted directory (from a ZFS subvolume) instead of<br>
> a disk image.<br>
><br>
> Am I missing something or is this currently not possible?<br>
<br>
</div></div>This was actually a feature of the original virt-sysprep (1.14).<br>
However we removed it in a more recent version (1.16 IIRC).  So no,<br>
virt-sysprep etc only work on disk images, not on mounted filesystems.<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
virt-df lists disk usage of guests without needing to install any<br>
software inside the virtual machine.  Supports Linux and Windows.<br>
<a href="http://people.redhat.com/~rjones/virt-df/" target="_blank">http://people.redhat.com/~rjones/virt-df/</a><br>
</font></span></blockquote></div><br></div>