[lxc-devel] API wishlist

Serge Hallyn serge.hallyn at canonical.com
Wed Dec 12 15:48:49 UTC 2012


Quoting Frederic Crozat (fcrozat at suse.com):
> Le lundi 10 décembre 2012 à 08:17 -0600, Serge Hallyn a écrit :
> > Quoting Frederic Crozat (fcrozat at suse.com):
> > > I have to agree with that proposal (and making configuration path being
> > > optionally a different path than the one used for rootfs would be a
> > > plus, like the patch Alexey has been posting for a long time and we are
> > > using on SLES).
> > 
> > Can you post a URL?
> > .
> 
> Even better, here is the patch (adapted from Alexey own version, might

Ah, ok, sorry I thought that patch was going to doing something different.

> not apply 100% cleanly, it is rebased against 0.8.0, but I can try to
> rebase it against staging if you want). To apply this patch for
> upstream, I'd suggest to not change location of config directory
> to /etc/lxc by default (the patch is doing that ATM) but to continue
> using /var/lib/lxc (but allowing others to use a different path).

Currently you can sort of achieve the same thing by using

	lxc-create -B dir --dir some-other-rootfs

Is there any way that can suffice for what you want?

-serge




More information about the lxc-devel mailing list