lxc-ls: Cache groups and show bygroup in autostart
This makes sure we only query lxc.group once and then reuse that list
for filtering, listing groups and autostart.
When a container is auto-started only as part of a group, autostart will
now show by-group instead of yes.
Signed-off-by:
Stéphane Graber <stgraber@ubuntu.com>
Showing
Please
register
or
sign in
to comment