summaryrefslogtreecommitdiff
path: root/systemd/cloud-init-generator.tmpl
diff options
context:
space:
mode:
authorLouis Abel <nazunalika@users.noreply.github.com>2021-05-25 06:25:41 -0700
committerGitHub <noreply@github.com>2021-05-25 08:25:41 -0500
commit7c1d27b8836c266f6db1e179b98ef32effeb750e (patch)
tree0a7f4897b000ee0c1f7a1b16c5d2b06269fd25fd /systemd/cloud-init-generator.tmpl
parentc8db603218dd56123e43857d81f5eae5f66618f1 (diff)
downloadvyos-cloud-init-7c1d27b8836c266f6db1e179b98ef32effeb750e.tar.gz
vyos-cloud-init-7c1d27b8836c266f6db1e179b98ef32effeb750e.zip
Add Rocky Linux support to cloud-init (#906)
Rocky Linux is a RHEL-compatible distribution so all changes that have been made should be trivial.
Diffstat (limited to 'systemd/cloud-init-generator.tmpl')
-rwxr-xr-xsystemd/cloud-init-generator.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init-generator.tmpl b/systemd/cloud-init-generator.tmpl
index 9b103ef9..0713db16 100755
--- a/systemd/cloud-init-generator.tmpl
+++ b/systemd/cloud-init-generator.tmpl
@@ -83,7 +83,7 @@ default() {
check_for_datasource() {
local ds_rc=""
-{% if variant in ["almalinux", "rhel", "fedora", "centos"] %}
+{% if variant in ["almalinux", "rhel", "fedora", "centos", "rocky"] %}
local dsidentify="/usr/libexec/cloud-init/ds-identify"
{% else %}
local dsidentify="/usr/lib/cloud-init/ds-identify"