]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-ls: Update lxc.group handling
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 1 May 2014 22:35:21 +0000 (18:35 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 2 May 2014 15:12:21 +0000 (11:12 -0400)
commit0f027869da6fe8c448d374eb272b2f394c688937
treec54090bd03ca243a637cf724a6f6b392f0b8a20f
parent50040b5e46ff17a1e40d6e693c006af5caddab2c
lxc-ls: Update lxc.group handling

This introduces a new -g/--group argument to filter containers based on
their groups.

This supports the rather obvious: --group blah
Which will only list containers that are in group blah.

It may also be passed multiple times: --group blah --group bleh
Which will list containers that are in either (or both) blah or bleh.

And it also takes: --group blah,bleh --group doh
Which will list containers that are either in BOTH blah and bleh or in doh.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
doc/lxc-ls.sgml.in
src/lxc/lxc-ls.in