[lxc-devel] [PATCH] ensure all config items are duplicated on clone/write_config

Serge Hallyn serge.hallyn at ubuntu.com
Fri Jan 10 23:15:11 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> On Fri, Jan 10, 2014 at 04:59:31PM -0600, Serge Hallyn wrote:
> > Quoting Dwight Engen (dwight.engen at oracle.com):
> > > Since previously I had found a config item that wasn't being propagated
> > > by lxc-clone, I went through all the config items and made sure that:
> > >  a) Each item is documented in lxc.conf
> > >  b) Each item is written out by write_config
> > > 
> > > The only one that isn't is lxc.include, which by its nature only pulls
> > > in other config item types.
> > > 
> > > Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
> > 
> > Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> > 
> > But one question - should we skip the autostart settings for
> > lxc-clone (somehow)?  Consider that lxcapi_clone is used by
> > lxcapi_snapshot.  If I create 10 snapshots of my mail server
> > I don't want 11 mail servers started on my next boot :)
> 
> Though snapshosts won't appear in list_containers so lxc-autostart won't
> pick them up.

Ah, excellent.


More information about the lxc-devel mailing list