forked from rpms/cloud-init
Fix AlmaLinux patch
This commit is contained in:
parent
4e7c7dd995
commit
a73cc3e7d1
@ -1,6 +1,6 @@
|
||||
From 68c9e63c581640667f23b87994c446a56136548a Mon Sep 17 00:00:00 2001
|
||||
From 7d91c98d0a06ea1e8bebf51cde13a6bbfd715b73 Mon Sep 17 00:00:00 2001
|
||||
From: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
|
||||
Date: Wed, 26 Oct 2022 16:37:21 +0400
|
||||
Date: Wed, 26 Oct 2022 19:48:04 +0400
|
||||
Subject: [PATCH 1/1] Fix the Yum Add Repo module for AlmaLinux OS
|
||||
|
||||
Include AlmaLinux OS in the list of distributions
|
||||
@ -12,13 +12,13 @@ Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
|
||||
index fb4b456..15747bb 100644
|
||||
index 80ab4f9..2eff94e 100644
|
||||
--- a/config/cloud.cfg.tmpl
|
||||
+++ b/config/cloud.cfg.tmpl
|
||||
@@ -111,7 +111,7 @@ cloud_config_modules:
|
||||
- locale
|
||||
@@ -128,7 +128,7 @@ cloud_config_modules:
|
||||
{% if variant in ["rhel"] %}
|
||||
- rh_subscription
|
||||
{% endif %}
|
||||
- set-passwords
|
||||
-{% if variant in ["rhel", "fedora", "photon"] %}
|
||||
+{% if variant in ["almalinux", "rhel", "fedora", "photon"] %}
|
||||
{% if variant not in ["photon"] %}
|
||||
|
Loading…
Reference in New Issue
Block a user