Re: [lxc-devel] [PATCH 2/2] lxc-info: Allow printing IP addresses

2013-09-26 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This adds a new -i flag to lxc-info to print the container's IP > addresses using get_ips(). > > Example: > $ lxc-info -n lxc-dev -s -p -i > state: RUNNING > pid:21331 > ip: 10.0.3.165 > ip: 2607:f2c0:f00f:2751:e9ca:842f:efa9:97d1 > ip:

[lxc-devel] [PATCH 2/2] lxc-info: Allow printing IP addresses

2013-09-26 Thread Stéphane Graber
This adds a new -i flag to lxc-info to print the container's IP addresses using get_ips(). Example: $ lxc-info -n lxc-dev -s -p -i state: RUNNING pid:21331 ip: 10.0.3.165 ip: 2607:f2c0:f00f:2751:e9ca:842f:efa9:97d1 ip: 2607:f2c0:f00f:2751:216:3eff:fe3a:f1c1 Signed-off-by: Stéphan