Re: [lxc-devel] [PATCH 1/6] Add lxc.ephemeral lxc.ephemeral indicates whether a container will be destroyed on shutdown Any integer value > 0 can be used to indicate that a container is ephemeral.

2015-09-08 Thread Christian Brauner
On Mon, Sep 07, 2015 at 04:54:26PM +, Serge Hallyn wrote: > Quoting Christian Brauner (christianvanbrau...@gmail.com): > > Signed-off-by: Christian Brauner > > Acked-by: Serge E. Hallyn > > Though I suspect it's worth changing the assignment in config_ephemeral > to ensure that it is in fac

Re: [lxc-devel] [PATCH 1/6] Add lxc.ephemeral lxc.ephemeral indicates whether a container will be destroyed on shutdown Any integer value > 0 can be used to indicate that a container is ephemeral.

2015-09-07 Thread Serge Hallyn
Quoting Christian Brauner (christianvanbrau...@gmail.com): > Signed-off-by: Christian Brauner Acked-by: Serge E. Hallyn Though I suspect it's worth changing the assignment in config_ephemeral to ensure that it is in fact always either 1 or 0. > > 100.0% src/lxc/ > diff --git a/src/lxc/conf.h

[lxc-devel] [PATCH 1/6] Add lxc.ephemeral lxc.ephemeral indicates whether a container will be destroyed on shutdown Any integer value > 0 can be used to indicate that a container is ephemeral.

2015-09-06 Thread Christian Brauner
Signed-off-by: Christian Brauner 100.0% src/lxc/ diff --git a/src/lxc/conf.h b/src/lxc/conf.h index dc5328a..5aebd91 100644 --- a/src/lxc/conf.h +++ b/src/lxc/conf.h @@ -370,6 +370,9 @@ struct lxc_conf { * should run under when using lxc-execute */ uid_t init_uid; gid_t