Loading nixos/modules/services/system/cloud-init.nix +4 −1 Original line number Diff line number Diff line Loading @@ -164,7 +164,10 @@ in systemd.services.cloud-init-local = { description = "Initial cloud-init job (pre-networking)"; wantedBy = [ "multi-user.target" ]; before = [ "systemd-networkd.service" ]; # In certain environments (AWS for example), cloud-init-local will # first configure an IP through DHCP, and later delete it. # This can cause race conditions with anything else trying to set IP through DHCP. before = [ "systemd-networkd.service" "dhcpcd.service" ]; path = path; serviceConfig = { Type = "oneshot"; Loading Loading
nixos/modules/services/system/cloud-init.nix +4 −1 Original line number Diff line number Diff line Loading @@ -164,7 +164,10 @@ in systemd.services.cloud-init-local = { description = "Initial cloud-init job (pre-networking)"; wantedBy = [ "multi-user.target" ]; before = [ "systemd-networkd.service" ]; # In certain environments (AWS for example), cloud-init-local will # first configure an IP through DHCP, and later delete it. # This can cause race conditions with anything else trying to set IP through DHCP. before = [ "systemd-networkd.service" "dhcpcd.service" ]; path = path; serviceConfig = { Type = "oneshot"; Loading