I built a new UC16 image with the systemd proposed package. Initially networkd running early is fine. However, under closer inspection, in a networkd-only image, DNS (resolvconf) was not running early enough to allow DNS service to be available at the time that cloud-init.service runs (which may look up resources via hostnames).
After some discussion, the following change is also needed in resolvconf to ensure that in a networkd-based image, that we get DNS early along with networkd early. % diff -u resolvconf.service.orig resolvconf.service --- resolvconf.service.orig 2016-12-06 04:58:43.202698062 -0600 +++ resolvconf.service 2016-12-06 04:58:50.367042811 -0600 @@ -3,6 +3,7 @@ Documentation=man:resolvconf(8) DefaultDependencies=no Before=networking.service +Before=systemd-networkd.service [Service] RemainAfterExit=yes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636912 Title: systemd-networkd runs too late for cloud-init.service (net) To manage notifications about this bug go to: https://bugs.launchpad.net/systemd/+bug/1636912/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs