Le mercredi 12 décembre 2012 à 09:48 -0600, Serge Hallyn a écrit :
> Quoting Frederic Crozat (fcro...@suse.com):
> > Le lundi 10 décembre 2012 à 08:17 -0600, Serge Hallyn a écrit :
> > > Quoting Frederic Crozat (fcro...@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?

It does the reverse of what the patch does :
- rootfs is still in /var/lib/lxc
- configuration should be moved to /etc/lxc/<container_name>

And lxc-start / lxc-destroy wouldn't search for config data
in /etc/lxc..
-- 
Frederic Crozat <fcro...@suse.com>
SUSE


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to