With version ~ppa5 we're now skipping the activation of systemd-networkd-wait-online.service in case all Netplan interfaces are defined to be "optional: true", using "ConditionPathIsSymbolicLink=" on Netplan's s-n-wait-online.service enablement link, that's only set when we have non-optional interfaces.
All the magic happens in /run/systemd/system/systemd-networkd-wait-online.service.d/10-netplan.conf override under the generic "systemd-networkd-wait-online.service" umbrella.
With version ~ppa5 we're now skipping the activation of systemd- networkd- wait-online. service in case all Netplan interfaces are defined to be "optional: true", using "ConditionPathI sSymbolicLink= " on Netplan's s-n-wait- online. service enablement link, that's only set when we have non-optional interfaces.
All the magic happens in /run/systemd/ system/ systemd- networkd- wait-online. service. d/10-netplan. conf override under the generic "systemd- networkd- wait-online. service" umbrella.
Code is up-to-date in https:/ /github. com/canonical/ netplan/ pull/456 /launchpad. net/~slyon/ +archive/ ubuntu/ lp2060311/ +packages
Test buidls in PPA: https:/