cloud-init/cloud-init-0.7.9-before-network-target.patch
Garrett Holmstrom 301b9c5515 Order cloud-init.service after network.service and NetworkManager.service
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
2017-03-14 15:16:37 -07:00

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