summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_yum_add_repo.py
diff options
context:
space:
mode:
authorAndrew Lukoshko <andrew.lukoshko@gmail.com>2021-05-08 00:31:14 +0300
committerGitHub <noreply@github.com>2021-05-07 16:31:14 -0500
commit8cf40a73646a9448746fc4043c6410ae92172e7c (patch)
tree1f807d522ce7ebe84e295697310a63cb86651498 /cloudinit/config/cc_yum_add_repo.py
parent13877549527812959f59e4add685bc42d350edd8 (diff)
downloadvyos-cloud-init-8cf40a73646a9448746fc4043c6410ae92172e7c.tar.gz
vyos-cloud-init-8cf40a73646a9448746fc4043c6410ae92172e7c.zip
Add AlmaLinux OS support (#872)
AlmaLinux OS is RHEL-compatible so all the changes needed are trivial.
Diffstat (limited to 'cloudinit/config/cc_yum_add_repo.py')
-rw-r--r--cloudinit/config/cc_yum_add_repo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_yum_add_repo.py b/cloudinit/config/cc_yum_add_repo.py
index 01fe683c..db513ed7 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:** centos, fedora, rhel
+**Supported distros:** almalinux, centos, fedora, rhel
**Config keys**::
@@ -36,7 +36,7 @@ from configparser import ConfigParser
from cloudinit import util
-distros = ['centos', 'fedora', 'rhel']
+distros = ['almalinux', 'centos', 'fedora', 'rhel']
def _canonicalize_id(repo_id):