[lxc-devel] Container autostart proposal V2
Natanael Copa
ncopa at alpinelinux.org
Mon Jun 3 08:22:27 UTC 2013
On Tue, 28 May 2013 17:36:09 -0400
Dwight Engen <dwight.engen at oracle.com> wrote:
> On Tue, 28 May 2013 17:03:43 -0400
> Stéphane Graber <stgraber at ubuntu.com> wrote:
...
> > The command line parameter (-g) is comma separate however. So commas
> > should be documented as invalid for a group name and so is "any" which
> > is a special group matching all containers.
>
> Hmm, that just made me think of the fact that lxc-monitor takes a
> regex, should we be consistent about how to specify multiple
> containers/groups?
I would prefer fnmatch over both regex and a magic 'any' keyword.
lxc-stop -g '*'
lxc-start -g 'foo.*'
I fully agree on the point about being consistant though.
-nc
More information about the lxc-devel
mailing list