diff options
author | Alexandr Kravchenko <sasha121196@mail.ru> | 2021-09-01 22:01:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 14:01:09 -0500 |
commit | f6c71fd758a3589ac5f62fd251d60b00edf5bb1c (patch) | |
tree | f1c176794a4c700ea8b6a0e745360c493e373050 /cloudinit/distros | |
parent | db72c841c2ec0d94d366df7fa623e82e91e2201c (diff) | |
download | vyos-cloud-init-f6c71fd758a3589ac5f62fd251d60b00edf5bb1c.tar.gz vyos-cloud-init-f6c71fd758a3589ac5f62fd251d60b00edf5bb1c.zip |
Add CloudLinux OS support (#1003)
https://www.cloudlinux.com/
Diffstat (limited to 'cloudinit/distros')
-rwxr-xr-x | cloudinit/distros/__init__.py | 4 | ||||
-rw-r--r-- | cloudinit/distros/cloudlinux.py | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index 2e629143..a0526948 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', 'eurolinux', 'fedora', - 'photon', 'rhel', 'rocky', 'virtuozzo'], + 'redhat': ['almalinux', 'amazon', 'centos', 'cloudlinux', 'eurolinux', + 'fedora', 'photon', 'rhel', 'rocky', 'virtuozzo'], 'suse': ['opensuse', 'sles'], } diff --git a/cloudinit/distros/cloudlinux.py b/cloudinit/distros/cloudlinux.py new file mode 100644 index 00000000..edb3165d --- /dev/null +++ b/cloudinit/distros/cloudlinux.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 |