summaryrefslogtreecommitdiff
path: root/cloudinit/config
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/config
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/config')
-rw-r--r--cloudinit/config/cc_ntp.py6
-rw-r--r--cloudinit/config/cc_yum_add_repo.py8
2 files changed, 7 insertions, 7 deletions
diff --git a/cloudinit/config/cc_ntp.py b/cloudinit/config/cc_ntp.py
index 7c371a49..e2231cbb 100644
--- a/cloudinit/config/cc_ntp.py
+++ b/cloudinit/config/cc_ntp.py
@@ -24,9 +24,9 @@ LOG = logging.getLogger(__name__)
frequency = PER_INSTANCE
NTP_CONF = '/etc/ntp.conf'
NR_POOL_SERVERS = 4
-distros = ['almalinux', 'alpine', 'centos', 'debian', 'eurolinux', 'fedora',
- 'opensuse', 'photon', 'rhel', 'rocky', 'sles', 'ubuntu',
- 'virtuozzo']
+distros = ['almalinux', 'alpine', 'centos', 'cloudlinux', 'debian',
+ 'eurolinux', 'fedora', 'opensuse', 'photon', 'rhel', 'rocky',
+ 'sles', 'ubuntu', 'virtuozzo']
NTP_CLIENT_CONFIG = {
'chrony': {
diff --git a/cloudinit/config/cc_yum_add_repo.py b/cloudinit/config/cc_yum_add_repo.py
index b7a48dcc..899cb082 100644
--- a/cloudinit/config/cc_yum_add_repo.py
+++ b/cloudinit/config/cc_yum_add_repo.py
@@ -18,8 +18,8 @@ entry, the config entry will be skipped.
**Module frequency:** per always
-**Supported distros:** almalinux, centos, eurolinux, fedora, photon, rhel,
- rocky, virtuozzo
+**Supported distros:** almalinux, centos, cloudlinux, eurolinux, fedora,
+ photon, rhel, rocky, virtuozzo
**Config keys**::
@@ -37,8 +37,8 @@ from configparser import ConfigParser
from cloudinit import util
-distros = ['almalinux', 'centos', 'eurolinux', 'fedora', 'photon', 'rhel',
- 'rocky', 'virtuozzo']
+distros = ['almalinux', 'centos', 'cloudlinux', 'eurolinux', 'fedora',
+ 'photon', 'rhel', 'rocky', 'virtuozzo']
def _canonicalize_id(repo_id):