← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~rjschwei/cloud-init:wickedOrder into cloud-init:master

 

Robert Schweikert has proposed merging ~rjschwei/cloud-init:wickedOrder into cloud-init:master.

Requested reviews:
  cloud-init Commiters (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/373166

Change the startup order. On SUSE distros cloud-init.service should start after wicked.service. This reflects the same start up order other distributions utilize.
-- 
Your team cloud-init Commiters is requested to review the proposed merge of ~rjschwei/cloud-init:wickedOrder into cloud-init:master.
diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl
index 5cb0037..1e5942a 100644
--- a/systemd/cloud-init.service.tmpl
+++ b/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

Follow ups