summaryrefslogtreecommitdiff
path: root/cloudinit/distros
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 /cloudinit/distros
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 'cloudinit/distros')
-rwxr-xr-xcloudinit/distros/__init__.py2
-rw-r--r--cloudinit/distros/virtuozzo.py9
2 files changed, 10 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 40c4f2ac..7b813167 100755
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -50,7 +50,7 @@ OSFAMILIES = {
'freebsd': ['freebsd'],
'gentoo': ['gentoo'],
'redhat': ['almalinux', 'amazon', 'centos', 'fedora', 'photon', 'rhel',
- 'rocky'],
+ 'rocky', 'virtuozzo'],
'suse': ['opensuse', 'sles'],
}
diff --git a/cloudinit/distros/virtuozzo.py b/cloudinit/distros/virtuozzo.py
new file mode 100644
index 00000000..edb3165d
--- /dev/null
+++ b/cloudinit/distros/virtuozzo.py
@@ -0,0 +1,9 @@
+# This file is part of cloud-init. See LICENSE file for license information.
+
+from cloudinit.distros import rhel
+
+
+class Distro(rhel.Distro):
+ pass
+
+# vi: ts=4 expandtab