summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorAlexandr Kravchenko <sasha121196@mail.ru>2021-09-01 22:01:09 +0300
committerGitHub <noreply@github.com>2021-09-01 14:01:09 -0500
commitf6c71fd758a3589ac5f62fd251d60b00edf5bb1c (patch)
treef1c176794a4c700ea8b6a0e745360c493e373050 /cloudinit/util.py
parentdb72c841c2ec0d94d366df7fa623e82e91e2201c (diff)
downloadvyos-cloud-init-f6c71fd758a3589ac5f62fd251d60b00edf5bb1c.tar.gz
vyos-cloud-init-f6c71fd758a3589ac5f62fd251d60b00edf5bb1c.zip
Add CloudLinux OS support (#1003)
https://www.cloudlinux.com/
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index c53f6453..894245bf 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -548,8 +548,9 @@ def system_info():
if system == "linux":
linux_dist = info['dist'][0].lower()
if linux_dist in (
- 'almalinux', 'alpine', 'arch', 'centos', 'debian', 'eurolinux',
- 'fedora', 'photon', 'rhel', 'rocky', 'suse', 'virtuozzo'):
+ 'almalinux', 'alpine', 'arch', 'centos', 'cloudlinux',
+ 'debian', 'eurolinux', 'fedora', 'photon', 'rhel', 'rocky',
+ 'suse', 'virtuozzo'):
var = linux_dist
elif linux_dist in ('ubuntu', 'linuxmint', 'mint'):
var = 'ubuntu'