On 09/09/2014 12:58 AM, Tycho Andersen wrote:
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.


Yes:

# [ "$(lxc-info -n dl -H -s)" = "RUNNING" ] && echo ok
# lxc-info -n dl -H -s
RUNNING
#



tamas
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to