cloud-init/SOURCES/0001-Fix-the-Yum-Add-Repo-m...

30 lines
875 B
Diff

From 68c9e63c581640667f23b87994c446a56136548a Mon Sep 17 00:00:00 2001
From: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
Date: Wed, 26 Oct 2022 16:37:21 +0400
Subject: [PATCH 1/1] Fix the Yum Add Repo module for AlmaLinux OS
Include AlmaLinux OS in the list of distributions
that supports cc_yum_add_repo
Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
---
config/cloud.cfg.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
index fb4b456..15747bb 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -111,7 +111,7 @@ cloud_config_modules:
- locale
{% endif %}
- set-passwords
-{% if variant in ["rhel", "fedora", "photon"] %}
+{% if variant in ["almalinux", "rhel", "fedora", "photon"] %}
{% if variant not in ["photon"] %}
- spacewalk
{% endif %}
--
2.37.3