# bug 1722566: cloud-init-output.log doesn't list network configuration information. # Validate that pretty formatted table shows up for network device info $ for release in xenial zesty; do name=test-$release; lxc exec $name grep CODE /etc/os-release; lxc exec $name -- grep -A 5 'Net device info' /var/log/cloud-init-output.log; lxc exec $name -- dpkg-query --show cloud-init; done --- output --- VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++ ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+ ci-info: | eth0 | True | 10.195.58.124 | 255.255.255.0 | . | 00:16:3e:f0:51:94 | ci-info: | eth0 | True | fe80::216:3eff:fef0:5194/64 | . | link | 00:16:3e:f0:51:94 | cloud-init 17.1-18-gd4f70470-0ubuntu1~16.04.1 VERSION_CODENAME=zesty UBUNTU_CODENAME=zesty ci-info: +++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++ ci-info: +--------+------+---------------+---------------+-------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+---------------+---------------+-------+-------------------+ ci-info: | eth0: | True | 10.195.58.185 | 255.255.255.0 | . | 00:16:3e:9d:24:bb | ci-info: | eth0: | True | . | . | d | 00:16:3e:9d:24:bb | cloud-init 17.1-18-gd4f70470-0ubuntu1~17.04.1