[lxc-devel] [PATCH 1/2] Document clear behaviour of list options

Stéphane Graber stgraber at ubuntu.com
Thu Jan 28 10:32:29 UTC 2016


On Mon, Jan 04, 2016 at 10:57:38PM +0100, Marko Hauptvogel wrote:
> From: Marko Hauptvogel <marko.hauptvogel at googlemail.com>
> 
> More general for all list options.
> 
> Seems to currently affect:
> lxc.network (clear all NICs)
> lxc.network.* (clear current NIC)
> lxc.cap.drop
> lxc.cap.keep
> lxc.cgroup
> lxc.mount.entry
> lxc.mount.auto
> lxc.hook
> lxc.id_map
> lxc.group
> lxc.environment
> 
> Signed-off-by: Marko Hauptvogel <marko.hauptvogel at googlemail.com>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  doc/lxc.container.conf.sgml.in | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/lxc.container.conf.sgml.in b/doc/lxc.container.conf.sgml.in
> index 1e702c7..ff9c0b4 100644
> --- a/doc/lxc.container.conf.sgml.in
> +++ b/doc/lxc.container.conf.sgml.in
> @@ -72,7 +72,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor,
> Boston, MA 02110-1301 USA
>      <para>
>        Each option in the configuration file has the form <command>key
>        = value</command> fitting in one line. The '#' character means
> -      the line is a comment.
> +      the line is a comment. List options, like capabilities and cgroups
> +      options, can be used with no value to clear any previously
> +      defined values of that option.
>      </para>
> 
>      <refsect2>
> -- 
> 2.6.4
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160128/129e7f27/attachment.sig>


More information about the lxc-devel mailing list