[lxc-users] LXD - Feature - globbing lxc start/stop

Saint Michael venefax at gmail.com
Fri Nov 13 20:24:46 UTC 2015


I vote for this feature

On Fri, Nov 13, 2015 at 3:14 PM, Luis Michael Ibarra <
michael.ibarra at gmail.com> wrote:

> 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 <bostjan at a2o.si>:
>
>> +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 <
>> michael.ibarra at gmail.com> 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
>>> lxc-users at lists.linuxcontainers.org
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
>
> --
> Luis Michael Ibarra
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20151113/d4a789c4/attachment.html>


More information about the lxc-users mailing list