summaryrefslogtreecommitdiff
path: root/systemd/cloud-init-generator.tmpl
diff options
context:
space:
mode:
authoreb3095 <45504889+eb3095@users.noreply.github.com>2021-07-21 16:48:05 -0400
committerGitHub <noreply@github.com>2021-07-21 15:48:05 -0500
commit4257e30ac4b8730af35c078f2df0a2234dd19ffa (patch)
tree83920051229a287f584a48cc16ac349dc4538d33 /systemd/cloud-init-generator.tmpl
parentf0ab1e64852d50f4fe0de84e0bca0ee8bb516a9f (diff)
downloadvyos-cloud-init-4257e30ac4b8730af35c078f2df0a2234dd19ffa.tar.gz
vyos-cloud-init-4257e30ac4b8730af35c078f2df0a2234dd19ffa.zip
Add VZLinux support (#951)
Virtuozzo Linux is a distro based off of CentOS 8, similar to Alma Linux and Rocky Linux.
Diffstat (limited to 'systemd/cloud-init-generator.tmpl')
-rw-r--r--systemd/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 0713db16..1d6af5ae 100644
--- 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", "rocky"] %}
+{% if variant in ["almalinux", "rhel", "fedora", "centos", "rocky", "virtuozzo"] %}
local dsidentify="/usr/libexec/cloud-init/ds-identify"
{% else %}
local dsidentify="/usr/lib/cloud-init/ds-identify"