[lxc-users] strange behaviour of grep on lxc-info
Tamas Papp
tompos at martos.bme.hu
Mon Sep 8 21:27:14 UTC 2014
hi All,
# lxc-info -n jay|grep RU
State: RUNNING
State: RUNNING
# lxc-info -n jay|grep ve
Link: veth2O2K6R
# lxc-info -n jay|grep jay
Name: jay
Name: jay
Name: jay
# lxc-info -n jay|grep IP
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
IP: 10.0.0.55
Does anybody have an idea?:)
10x
tamas
ps.: Is there a nicer way to check the state of container? Something like:
# lxc-info -n t1 --state RUNNING
STOPPED
# echo $?
1
More information about the lxc-users
mailing list