summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorHaruki TSURUMOTO <fortune.rocket42@gmail.com>2021-12-07 23:23:45 +0900
committerGitHub <noreply@github.com>2021-12-07 08:23:45 -0600
commit0ed00ad9cdebc2d4dabd8bd6d7c901584963def5 (patch)
treedcc25a244e086eab826fd988db44a8fdfaa76bf5 /systemd
parentcd40789a583c38423cea76355b375aa838893292 (diff)
downloadvyos-cloud-init-0ed00ad9cdebc2d4dabd8bd6d7c901584963def5.tar.gz
vyos-cloud-init-0ed00ad9cdebc2d4dabd8bd6d7c901584963def5.zip
Add miraclelinux support (#1128)
Diffstat (limited to 'systemd')
-rw-r--r--systemd/cloud-init-generator.tmpl2
-rw-r--r--systemd/cloud-init.service.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/systemd/cloud-init-generator.tmpl b/systemd/cloud-init-generator.tmpl
index 7d1e7256..74d47428 100644
--- a/systemd/cloud-init-generator.tmpl
+++ b/systemd/cloud-init-generator.tmpl
@@ -84,7 +84,7 @@ default() {
check_for_datasource() {
local ds_rc=""
{% if variant in ["almalinux", "centos", "cloudlinux", "eurolinux", "fedora",
- "openEuler", "rhel", "rocky", "virtuozzo"] %}
+ "miraclelinux", "openEuler", "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 de3f3d91..e71e5679 100644
--- a/systemd/cloud-init.service.tmpl
+++ b/systemd/cloud-init.service.tmpl
@@ -13,7 +13,7 @@ After=systemd-networkd-wait-online.service
After=networking.service
{% endif %}
{% if variant in ["almalinux", "centos", "cloudlinux", "eurolinux", "fedora",
- "openEuler", "rhel", "rocky", "virtuozzo"] %}
+ "miraclelinux", "openEuler", "rhel", "rocky", "virtuozzo"] %}
After=network.service
After=NetworkManager.service
{% endif %}