summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2023-01-30 09:16:14 -0500
committerGitHub <noreply@github.com>2023-01-30 07:16:14 -0700
commitcb1a1a0a1b2cecb7323afb41f54b4b81e00c4183 (patch)
tree7e1f78104147660b7bf78c441d957da25c0eef64 /systemd
parent2580ca7b685b88f471b1a5d4a04eda75c7c91e07 (diff)
downloadcloud-init-git-cb1a1a0a1b2cecb7323afb41f54b4b81e00c4183.tar.gz
Wait for NetworkManager (#1983)
Newer SUSE distributions are switching to NetworkManager from wicked. For those distributions we need to wait for NetworkManager before starting the cloud-init service.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init.service.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl
index c86aa4fc..ac589821 100644
--- a/systemd/cloud-init.service.tmpl
+++ b/systemd/cloud-init.service.tmpl
@@ -13,7 +13,8 @@ After=systemd-networkd-wait-online.service
After=networking.service
{% endif %}
{% if variant in ["almalinux", "centos", "cloudlinux", "eurolinux", "fedora",
- "miraclelinux", "openEuler", "openmandriva", "rhel", "rocky", "virtuozzo"] %}
+ "miraclelinux", "openEuler", "openmandriva", "rhel", "rocky",
+ "suse", "virtuozzo"] %}
After=network.service
After=NetworkManager.service
After=NetworkManager-wait-online.service