301b9c5515
cloud-init.service is meant to run when networking is up, but before network-online.target unleashes other services in case people want to set up networking customizations that run before those services do. https://bugzilla.redhat.com/show_bug.cgi?id=1400249
15 lines
504 B
Diff
15 lines
504 B
Diff
Index: cloud-init-0.7.9/systemd/cloud-init.service
|
|
===================================================================
|
|
--- cloud-init-0.7.9.orig/systemd/cloud-init.service
|
|
+++ cloud-init-0.7.9/systemd/cloud-init.service
|
|
@@ -4,7 +4,8 @@ Wants=cloud-init-local.service
|
|
Wants=sshd-keygen.service
|
|
Wants=sshd.service
|
|
After=cloud-init-local.service
|
|
-After=networking.service
|
|
+After=network.service
|
|
+After=NetworkManager.service
|
|
Before=network-online.target
|
|
Before=sshd-keygen.service
|
|
Before=sshd.service
|