[Libguestfs] [PATCH][RFC] launch: appliance is optional

Richard W.M. Jones rjones at redhat.com
Mon Oct 8 18:56:36 UTC 2012


On Mon, Oct 08, 2012 at 08:50:47PM +0200, Olaf Hering wrote:
> On Mon, Oct 08, Richard W.M. Jones wrote:
> 
> > But out of interest, how are you creating this appliance?  I thought
> > we'd ripped out support for old-style appliances from the rest of the
> > toolchain ...
> 
> I use mkinitrd to pull in all tools and run guestfsd instead of
> /sysroot/sbin/init. This allows me to build the package automated as
> unprivileged user in the buildsystem. Creating a loop file requires
> root, which is cumbersome in the openSuSE buildservice.

BTW, febootstrap (which is what we use) runs unprivileged and should
be able to process SuSE rpms.  However it does require yum, not
zypper, but that's probably easy to fix if zypper has a way to take a
list of package names and resolve all the dependencies without needing
root and without needing to install any packages.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list