summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorLouis Abel <nazunalika@users.noreply.github.com>2021-05-25 06:25:41 -0700
committerGitHub <noreply@github.com>2021-05-25 08:25:41 -0500
commit7c1d27b8836c266f6db1e179b98ef32effeb750e (patch)
tree0a7f4897b000ee0c1f7a1b16c5d2b06269fd25fd /cloudinit/config
parentc8db603218dd56123e43857d81f5eae5f66618f1 (diff)
downloadvyos-cloud-init-7c1d27b8836c266f6db1e179b98ef32effeb750e.tar.gz
vyos-cloud-init-7c1d27b8836c266f6db1e179b98ef32effeb750e.zip
Add Rocky Linux support to cloud-init (#906)
Rocky Linux is a RHEL-compatible distribution so all changes that have been made should be trivial.
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_ntp.py2
-rw-r--r--cloudinit/config/cc_yum_add_repo.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/config/cc_ntp.py b/cloudinit/config/cc_ntp.py
index 41c278ff..70c24610 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',
- 'rhel', 'sles', 'ubuntu']
+ 'rhel', 'rocky', 'sles', 'ubuntu']
NTP_CLIENT_CONFIG = {
'chrony': {
diff --git a/cloudinit/config/cc_yum_add_repo.py b/cloudinit/config/cc_yum_add_repo.py
index db513ed7..7daa6bd9 100644
--- a/cloudinit/config/cc_yum_add_repo.py
+++ b/cloudinit/config/cc_yum_add_repo.py
@@ -18,7 +18,7 @@ entry, the config entry will be skipped.
**Module frequency:** per always
-**Supported distros:** almalinux, centos, fedora, rhel
+**Supported distros:** almalinux, centos, fedora, rhel, rocky
**Config keys**::
@@ -36,7 +36,7 @@ from configparser import ConfigParser
from cloudinit import util
-distros = ['almalinux', 'centos', 'fedora', 'rhel']
+distros = ['almalinux', 'centos', 'fedora', 'rhel', 'rocky']
def _canonicalize_id(repo_id):