Comment 5 for bug 1685944

Revision history for this message
Chad Smith (chad.smith) wrote :

Validated xenial yakkety and zesty:

root@test-xenial:~# python3 render-test.py out.d
Rendering <cloudinit.net.netplan.Renderer object at 0x7f20cacb8470>
Rendering <cloudinit.net.eni.Renderer object at 0x7f20cacb84e0>
root@test-xenial:~# cd out.d && for f in $(find . -type f); do echo == $f ==; cat $f; done
== ./etc/netplan/50-cloud-init.yaml ==

network:
    version: 2
    ethernets:
        eth1:
            dhcp4: true
== ./etc/udev/rules.d/70-persistent-net.rules ==
== ./etc/network/interfaces ==
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
root@test-xenial:~# dpkg-query --show cloud-init
cloud-init 0.7.9-153-g16a7302f-0ubuntu1~16.04.1

-----------

root@test-yakkety:~# python3 render-test.py out.d
Rendering <cloudinit.net.netplan.Renderer object at 0x7fac56641518>
Rendering <cloudinit.net.eni.Renderer object at 0x7fac53f495f8>
root@test-yakkety:~# cd out.d && for f in $(find . -type f); do echo == $f ==; cat $f; done
== ./etc/netplan/50-cloud-init.yaml ==

network:
    version: 2
    ethernets:
        eth1:
            dhcp4: true
== ./etc/udev/rules.d/70-persistent-net.rules ==
== ./etc/network/interfaces ==
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

root@test-yakkety:~# dpkg-query --show cloud-init
cloud-init 0.7.9-153-g16a7302f-0ubuntu1~16.10.1

-------------

root@test-zesty:~# python3 render-test.py out.d
Rendering <cloudinit.net.netplan.Renderer object at 0x7f13a6064668>
Rendering <cloudinit.net.eni.Renderer object at 0x7f13a60646d8>
root@test-zesty:~# cd out.d && for f in $(find . -type f); do echo == $f ==; cat $f; done
== ./etc/netplan/50-cloud-init.yaml ==

network:
    version: 2
    ethernets:
        eth1:
            dhcp4: true
== ./etc/udev/rules.d/70-persistent-net.rules ==
== ./etc/network/interfaces ==
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
root@test-zesty:~/out.d# dpkg-query --show cloud-init
cloud-init 0.7.9-153-g16a7302f-0ubuntu1~17.04.1