summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorAleksander Baranowski <aleksander.baranowski@yahoo.pl>2021-08-05 18:32:36 +0200
committerGitHub <noreply@github.com>2021-08-05 11:32:36 -0500
commit3d9c862b6ded798031fad827328fa437bc14ac97 (patch)
tree8de4fae6a64e05f95329baaf51dd384a6baf59d3 /cloudinit/distros
parent758acf976f2cb67a85411467fa5fca2ea17a2283 (diff)
downloadvyos-cloud-init-3d9c862b6ded798031fad827328fa437bc14ac97.tar.gz
vyos-cloud-init-3d9c862b6ded798031fad827328fa437bc14ac97.zip
Add support for EuroLinux 7 && EuroLinux 8 (#957)
Diffstat (limited to 'cloudinit/distros')
-rwxr-xr-xcloudinit/distros/__init__.py4
-rw-r--r--cloudinit/distros/eurolinux.py9
2 files changed, 11 insertions, 2 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 7b813167..a634623a 100755
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -49,8 +49,8 @@ OSFAMILIES = {
'debian': ['debian', 'ubuntu'],
'freebsd': ['freebsd'],
'gentoo': ['gentoo'],
- 'redhat': ['almalinux', 'amazon', 'centos', 'fedora', 'photon', 'rhel',
- 'rocky', 'virtuozzo'],
+ 'redhat': ['almalinux', 'amazon', 'centos', 'eurolinux', 'fedora',
+ 'photon', 'rhel', 'rocky', 'virtuozzo'],
'suse': ['opensuse', 'sles'],
}
diff --git a/cloudinit/distros/eurolinux.py b/cloudinit/distros/eurolinux.py
new file mode 100644
index 00000000..edb3165d
--- /dev/null
+++ b/cloudinit/distros/eurolinux.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