diff options
author | Robert Schweikert <rjschwei@suse.com> | 2023-01-30 09:16:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 07:16:14 -0700 |
commit | cb1a1a0a1b2cecb7323afb41f54b4b81e00c4183 (patch) | |
tree | 7e1f78104147660b7bf78c441d957da25c0eef64 | |
parent | 2580ca7b685b88f471b1a5d4a04eda75c7c91e07 (diff) | |
download | cloud-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.
-rw-r--r-- | systemd/cloud-init.service.tmpl | 3 |
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 |