summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2018-10-24 14:34:50 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-10-24 14:34:50 +0000
commite0084a599d5259e507298175dad8a1e719017895 (patch)
treef10de654b28afde174a7a1db5baac18fef4a26ec /systemd
parent4ea64f153c87a786642abfa4db4b31c4bdd5bc9d (diff)
downloadcloud-init-git-e0084a599d5259e507298175dad8a1e719017895.tar.gz
systemd: On SUSE ensure cloud-init.service runs before wicked
With db50bc0d9 the sysconfig renderer was enabled for openSUSE and SUSE Linux Enterprise. This requires that cloud-init.service starts before wicked. LP: #1799709
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init.service.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl
index b92e8abc..5cb00371 100644
--- a/systemd/cloud-init.service.tmpl
+++ b/systemd/cloud-init.service.tmpl
@@ -14,8 +14,7 @@ After=networking.service
After=network.service
{% endif %}
{% if variant in ["suse"] %}
-Requires=wicked.service
-After=wicked.service
+Before=wicked.service
# setting hostname via hostnamectl depends on dbus, which otherwise
# would not be guaranteed at this point.
After=dbus.service