[lxc-devel] [lxc/lxc] a9ac16: lxc-info: Port to LXC API

GitHub noreply at github.com
Fri Sep 27 13:31:34 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a9ac16e2cc1634556b0191896f87399c362d791b
      https://github.com/lxc/lxc/commit/a9ac16e2cc1634556b0191896f87399c362d791b
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M src/lxc/lxc_info.c

  Log Message:
  -----------
  lxc-info: Port to LXC API

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 211e51e81e7c6ab670d1d282d78e5ef26d039a79
      https://github.com/lxc/lxc/commit/211e51e81e7c6ab670d1d282d78e5ef26d039a79
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M doc/lxc-info.sgml.in
    M src/lxc/lxc_info.c

  Log Message:
  -----------
  lxc-info: Allow printing IP addresses

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éphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/566981770e84...211e51e81e7c


More information about the lxc-devel mailing list