On Tue, Apr 03, 2012 at 02:41:36PM +0100, Carwyn Edwards wrote:
>> What I'm after is something akin to a Solaris sparse
Zone.
> At one point I was going to write a virtio 9p extension to qemu to do
> this.
This sounds interesting, could you elaborate a little? 9p? We're using
a lot of KVM and libguest FS here besides this web hosting
requirement.
virtio-9p (the plan 9 filesystem over virtio) is a way to export the
host filesystem to qemu guests. We could use this to export the
appliance to guests (instead of building a disk image). Except that
it's not really flexible enough in its current state. We would need
some sort of config file which would let us control exactly what
files, from where, get exported from the host, and what host files get
replaced.
> Supermin appliances give you a disk image (or cpio file, if you
> prefer). They don't give you a host filesystem, so they're probably
> not going to be much use for LXC, without a great deal of hacking.
I think the penny is dropping. What febootstrap is doing internally is
similar to what I'm after but it's output is different. Obvious in
hindsight :)
I think I'll take this element to the LXC lists now. Many thanks.
Carwyn
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora