From 66ef979a2d7b8003def1ee4d7a6b6a261b37e0ee Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 26 Sep 2019 14:39:27 +0000 Subject: systemd/cloud-init.service.tmpl: start after wicked.service 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. --- systemd/cloud-init.service.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd/cloud-init.service.tmpl') diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl index 5cb00371..1e5942a8 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 -- cgit v1.2.3 From 8888ca1af7f1fed33e79b56694834310ed35559a Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Thu, 31 Oct 2019 14:45:29 +0000 Subject: cloud-init.service: on centos/fedora/redhat wait on NetworkManager.service In Centos/RHEL 8, NetworkManager is installed as the networking service. cloud-init.service needs to run After this service to allow the OS to bring networking up first. LP: #1843334 --- systemd/cloud-init.service.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'systemd/cloud-init.service.tmpl') diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl index 1e5942a8..9ad3574c 100644 --- a/systemd/cloud-init.service.tmpl +++ b/systemd/cloud-init.service.tmpl @@ -12,6 +12,7 @@ After=networking.service {% endif %} {% if variant in ["centos", "fedora", "redhat"] %} After=network.service +After=NetworkManager.service {% endif %} {% if variant in ["suse"] %} After=wicked.service -- cgit v1.2.3