diff options
author | Andrew Lukoshko <andrew.lukoshko@gmail.com> | 2021-05-08 00:31:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 16:31:14 -0500 |
commit | 8cf40a73646a9448746fc4043c6410ae92172e7c (patch) | |
tree | 1f807d522ce7ebe84e295697310a63cb86651498 /cloudinit/distros | |
parent | 13877549527812959f59e4add685bc42d350edd8 (diff) | |
download | vyos-cloud-init-8cf40a73646a9448746fc4043c6410ae92172e7c.tar.gz vyos-cloud-init-8cf40a73646a9448746fc4043c6410ae92172e7c.zip |
Add AlmaLinux OS support (#872)
AlmaLinux OS is RHEL-compatible so all the changes needed are trivial.
Diffstat (limited to 'cloudinit/distros')
-rwxr-xr-x | cloudinit/distros/__init__.py | 2 | ||||
-rw-r--r-- | cloudinit/distros/almalinux.py | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index 8b8a647d..107b928c 100755 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -46,7 +46,7 @@ OSFAMILIES = { 'debian': ['debian', 'ubuntu'], 'freebsd': ['freebsd'], 'gentoo': ['gentoo'], - 'redhat': ['amazon', 'centos', 'fedora', 'rhel'], + 'redhat': ['almalinux', 'amazon', 'centos', 'fedora', 'rhel'], 'suse': ['opensuse', 'sles'], } diff --git a/cloudinit/distros/almalinux.py b/cloudinit/distros/almalinux.py new file mode 100644 index 00000000..edb3165d --- /dev/null +++ b/cloudinit/distros/almalinux.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 |