cloud-init/cloud-init-0.7.8-before-nm.patch
Garrett Holmstrom 7c131a37b4 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:55:18 -07:00

13 lines
436 B
Diff

Index: cloud-init-0.7.8/systemd/cloud-init-local.service
===================================================================
--- cloud-init-0.7.8.orig/systemd/cloud-init-local.service
+++ cloud-init-0.7.8/systemd/cloud-init-local.service
@@ -5,6 +5,7 @@ Wants=local-fs.target
Wants=network-pre.target
After=local-fs.target
Conflicts=shutdown.target
+Before=NetworkManager.service
Before=network-pre.target
Before=shutdown.target