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') 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