diff options
author | Aleksander Baranowski <aleksander.baranowski@yahoo.pl> | 2021-08-05 18:32:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 11:32:36 -0500 |
commit | 3d9c862b6ded798031fad827328fa437bc14ac97 (patch) | |
tree | 8de4fae6a64e05f95329baaf51dd384a6baf59d3 /systemd | |
parent | 758acf976f2cb67a85411467fa5fca2ea17a2283 (diff) | |
download | vyos-cloud-init-3d9c862b6ded798031fad827328fa437bc14ac97.tar.gz vyos-cloud-init-3d9c862b6ded798031fad827328fa437bc14ac97.zip |
Add support for EuroLinux 7 && EuroLinux 8 (#957)
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/cloud-init-generator.tmpl | 3 | ||||
-rw-r--r-- | systemd/cloud-init.service.tmpl | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/systemd/cloud-init-generator.tmpl b/systemd/cloud-init-generator.tmpl index 1d6af5ae..3dbe5947 100644 --- a/systemd/cloud-init-generator.tmpl +++ b/systemd/cloud-init-generator.tmpl @@ -83,7 +83,8 @@ default() { check_for_datasource() { local ds_rc="" -{% if variant in ["almalinux", "rhel", "fedora", "centos", "rocky", "virtuozzo"] %} +{% if variant in ["almalinux", "centos", "eurolinux", "fedora", "rhel", + "rocky", "virtuozzo"] %} local dsidentify="/usr/libexec/cloud-init/ds-identify" {% else %} local dsidentify="/usr/lib/cloud-init/ds-identify" diff --git a/systemd/cloud-init.service.tmpl b/systemd/cloud-init.service.tmpl index cab3ec51..636f59be 100644 --- a/systemd/cloud-init.service.tmpl +++ b/systemd/cloud-init.service.tmpl @@ -12,7 +12,8 @@ After=systemd-networkd-wait-online.service {% if variant in ["ubuntu", "unknown", "debian"] %} After=networking.service {% endif %} -{% if variant in ["almalinux", "centos", "fedora", "rhel", "rocky", "virtuozzo"] %} +{% if variant in ["almalinux", "centos", "eurolinux", "fedora", "rhel", + "rocky", "virtuozzo"] %} After=network.service After=NetworkManager.service {% endif %} |