forked from pool/cloud-init
Robert Schweikert
4977fc7a3b
- Change the service order, the cloud-init service wants to run after networking is started OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=147
14 lines
517 B
Diff
14 lines
517 B
Diff
Index: cloud-init-19.1/systemd/cloud-init.service.tmpl
|
|
===================================================================
|
|
--- cloud-init-19.1.orig/systemd/cloud-init.service.tmpl
|
|
+++ cloud-init-19.1/systemd/cloud-init.service.tmpl
|
|
@@ -14,7 +14,7 @@ After=networking.service
|
|
After=network.service
|
|
{% endif %}
|
|
{% if variant in ["suse"] %}
|
|
-Before=wicked.service
|
|
+After=wicked.service
|
|
# setting hostname via hostnamectl depends on dbus, which otherwise
|
|
# would not be guaranteed at this point.
|
|
After=dbus.service
|