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

Marko Hauptvogel marko.hauptvogel at googlemail.com
Mon Jan 4 21:57:38 UTC 2016


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>
---
 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


More information about the lxc-devel mailing list