[lxc-devel] [lxd/master] Fix help to provide sample that actually works

elvsp1n on Github lxc-bot at linuxcontainers.org
Mon Jul 10 11:55:05 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 374 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170710/54305959/attachment.bin>
-------------- next part --------------
From 778eb5b8b10dd7f67ecd916879dd0ae5fbf4f0fb Mon Sep 17 00:00:00 2001
From: Elvis Espinal <elvisespinal at neoscloudllc.com>
Date: Mon, 10 Jul 2017 07:53:12 -0400
Subject: [PATCH] Fix help to provide sample that actually works

Using 1 doesn't display privileged containers but if we use true it does.
---
 lxc/list.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxc/list.go b/lxc/list.go
index 1ef452451..9599e61e1 100644
--- a/lxc/list.go
+++ b/lxc/list.go
@@ -59,9 +59,9 @@ A key/value pair referring to a configuration item. For those, the namespace can
 
 	- "u.blah=abc" will do the same
 
-	- "security.privileged=1" will list all privileged containers
+	- "security.privileged=true" will list all privileged containers
 
-	- "s.privileged=1" will do the same
+	- "s.privileged=true" will do the same
 
 A regular expression matching a configuration item or its value. (e.g. volatile.eth0.hwaddr=00:16:3e:.*).
 


More information about the lxc-devel mailing list