Comment 8 for bug 1926442

Revision history for this message
Lukas Märdian (slyon) wrote :

Hello Brian, thanks for accepting this SRU into bionic-proposed.

I've tested netplan.io 0.99-0ubuntu3~18.04.5
root@bb:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.99-0ubuntu3~18.04.5 amd64
ii netplan.io 0.99-0ubuntu3~18.04.5 amd64

The autopkgtests at https://autopkgtest.ubuntu.com/packages/netplan.io ran successfully (after a retry for i386 and ppc64el) and the logs are attached to the bug description.
Additionally, I tested the new io.netplan.Netplan.Generate() DBus API to be working as well:

root@bb:~# cat /run/systemd/network/10-netplan-eth0.network
[Match]
Name=eth0

[Network]
DHCP=ipv4
LinkLocalAddressing=ipv6

[DHCP]
RouteMetric=100
UseMTU=true

root@bb:~# vim /etc/netplan/50-cloud-init.yaml # adding "dhcp6: true"
root@bb:~# busctl call io.netplan.Netplan /io/netplan/Netplan io.netplan.Netplan Generate
b true
root@bb:~# cat /run/systemd/network/10-netplan-eth0.network
[Match]
Name=eth0

[Network]
DHCP=yes
LinkLocalAddressing=ipv6

[DHCP]
RouteMetric=100
UseMTU=true

=> DHCP=ipv4 changed to DHCP=yes (i.e. IPv4 & IPv6)