- Usually, netplan's systemd-generator enables systemd-networkd and systemd-networkd-wait-online on boot. But netplan configuration is not yet generated at that point by cloud-init. Cloud-init generates in the network-pre.target and expects the network.target / network-online.target to work. These are already part of the ongoing systemd transaction, thus cannot be injected into the boot-sequency by cloud-init local mode. Therefore make sure cloud images include networkd in the initial boot transaction. - src:systemd will shortly not enable networkd unconditionally by default. * Drop ifupdown e-n-i configuration files, no longer used.ubuntu/artful
parent
c479b4aa1e
commit
9c9dbda327
@ -1,12 +0,0 @@
|
||||
# This file describes the network interfaces available on your system
|
||||
# and how to activate them. For more information, see interfaces(5).
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# Source interfaces
|
||||
# Please check /etc/network/interfaces.d before changing this file
|
||||
# as interfaces may have been defined in /etc/network/interfaces.d
|
||||
# See LP: #1262951
|
||||
source /etc/network/interfaces.d/*.cfg
|
@ -0,0 +1 @@
|
||||
/lib/systemd/system/systemd-networkd.service
|
@ -0,0 +1 @@
|
||||
/lib/systemd/system/systemd-networkd-wait-online.service
|
@ -0,0 +1 @@
|
||||
/lib/systemd/system/systemd-networkd.socket
|
Loading…
Reference in new issue