Autoinstall directives can be provided on the grub cmdline to cloud-init via kernel parameters like the following: autoinstall 'ds=nocloud-net;s=http://somedomain/' In order to support DNS resolution for NoCloud datasource at datasource discovery time, cloud-init.service needs to be orderered after NetworkManager.service and NetworkManager-wait-online.service which will have brought up applicable NICs. Since NetworkManager is After=dbus.service, the cloud-init.service avoids systemd ordering cycles by also dropping Before=sysinit.target when it adds, After=NetworkManager.service and After=NetworkManager-wait-online.service Add this file overlay for /lib/systemd/system/cloud-init.service because systemd drop-in files can only add constraints and not drop prexisting service constraints. Also add an AUTOMATION_HEADER comment to any generated files to add discoverability in the event of future bugs/concerns. LP: #2008952ui-by-default-wip
parent
e1d6746467
commit
fba5be17fd
Loading…
Reference in new issue