You can start and stop several containers at once, but you have to type each container in the command line. Something like this:
$lxc list web1 web2 web50 web51 webWithOtherService $lxc start [pattern], depends on the pattern I can several containers with common names. Even though, I find it useful to start and stop container, using patterns might be a nice way to manage images and other commands. 2015-11-13 14:14 GMT-05:00 Bostjan Skufca <[email protected]>: > +1 > > Luis: how do you see this implemented, as simple shell-like globbing, or > full regex support? > > b. > > > On 13 November 2015 at 14:29, Luis Michael Ibarra < > [email protected]> wrote: > >> >> Hi all, >> >> I think this is a minor feature, but it would be nice to have globbing >> support for lxc [command] parameters. I do know I can user bash or python >> and many other ways to do the same and put it on my .bashrc, however, >> sometimes in lab environments or just to test something quick I'd like to >> have this feature. >> >> I'm far from being a developer, so this is why I'm asking. >> >> Greetings, >> >> -- >> Luis Michael Ibarra >> >> _______________________________________________ >> lxc-users mailing list >> [email protected] >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users > -- Luis Michael Ibarra
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
