diff options
author | eb3095 <45504889+eb3095@users.noreply.github.com> | 2021-07-21 16:48:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 15:48:05 -0500 |
commit | 4257e30ac4b8730af35c078f2df0a2234dd19ffa (patch) | |
tree | 83920051229a287f584a48cc16ac349dc4538d33 /cloudinit/config | |
parent | f0ab1e64852d50f4fe0de84e0bca0ee8bb516a9f (diff) | |
download | vyos-cloud-init-4257e30ac4b8730af35c078f2df0a2234dd19ffa.tar.gz vyos-cloud-init-4257e30ac4b8730af35c078f2df0a2234dd19ffa.zip |
Add VZLinux support (#951)
Virtuozzo Linux is a distro based off of CentOS 8, similar to Alma Linux and Rocky Linux.
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/cc_ntp.py | 2 | ||||
-rw-r--r-- | cloudinit/config/cc_yum_add_repo.py | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/cloudinit/config/cc_ntp.py b/cloudinit/config/cc_ntp.py index acf3251d..d227efb9 100644 --- a/cloudinit/config/cc_ntp.py +++ b/cloudinit/config/cc_ntp.py @@ -25,7 +25,7 @@ frequency = PER_INSTANCE NTP_CONF = '/etc/ntp.conf' NR_POOL_SERVERS = 4 distros = ['almalinux', 'alpine', 'centos', 'debian', 'fedora', 'opensuse', - 'photon', 'rhel', 'rocky', 'sles', 'ubuntu'] + '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 67f09686..6e6133d1 100644 --- a/cloudinit/config/cc_yum_add_repo.py +++ b/cloudinit/config/cc_yum_add_repo.py @@ -18,7 +18,8 @@ entry, the config entry will be skipped. **Module frequency:** per always -**Supported distros:** almalinux, centos, fedora, photon, rhel, rocky +**Supported distros:** almalinux, centos, fedora, photon, rhel, rocky, + virtuozzo **Config keys**:: @@ -36,7 +37,8 @@ from configparser import ConfigParser from cloudinit import util -distros = ['almalinux', 'centos', 'fedora', 'photon', 'rhel', 'rocky'] +distros = ['almalinux', 'centos', 'fedora', 'photon', 'rhel', 'rocky', + 'virtuozzo'] def _canonicalize_id(repo_id): |