[lxc-users] strange behaviour of grep on lxc-info
Tycho Andersen
tycho.andersen at canonical.com
Mon Sep 8 22:58:55 UTC 2014
On Mon, Sep 08, 2014 at 11:40:43PM +0200, Tamas Papp wrote:
>
> On 09/08/2014 11:34 PM, Tycho Andersen wrote:
> >
> >I haven't looked into it, but I've seen similar behavior in my LXC
> >usage.
>
> I forgot the version:
>
> ii lxc 1.0.5-0ubuntu0.1 amd64 Linux Containers
> userspace tools
>
>
> >[ "$(lxc-info -n t1 -H -s)" = "RUNNING" ] might be useful. Tycho
>
> That's the point, this doesn't work now:)
Have you seen it break with -H? All your examples were without, and my
scripts that use -H seem to work consistently.
Tycho
>
> 10x
> tamas
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list