68 lines
3.6 KiB
Diff
68 lines
3.6 KiB
Diff
From b8d942afba061255b69fa5c41259d418fb000ad8 Mon Sep 17 00:00:00 2001
|
|
From: Michal Hecko <mhecko@redhat.com>
|
|
Date: Sun, 15 Jun 2025 17:11:28 +0200
|
|
Subject: [PATCH 60/66] libs(rhui): add rhel10 targets for upgrades
|
|
|
|
---
|
|
repos/system_upgrade/common/libraries/rhui.py | 30 +++++++++++++++++++
|
|
1 file changed, 30 insertions(+)
|
|
|
|
diff --git a/repos/system_upgrade/common/libraries/rhui.py b/repos/system_upgrade/common/libraries/rhui.py
|
|
index 30de0275..e1ab7c67 100644
|
|
--- a/repos/system_upgrade/common/libraries/rhui.py
|
|
+++ b/repos/system_upgrade/common/libraries/rhui.py
|
|
@@ -158,6 +158,17 @@ RHUI_SETUPS = {
|
|
('cdn.redhat.com-chain.crt', RHUI_PKI_DIR),
|
|
('content-rhel9.crt', RHUI_PKI_PRODUCT_DIR)
|
|
], os_version='9'),
|
|
+ mk_rhui_setup(clients={'rh-amazon-rhui-client'}, leapp_pkg='leapp-rhui-aws',
|
|
+ mandatory_files=[
|
|
+ ('rhui-client-config-server-10.crt', RHUI_PKI_PRODUCT_DIR),
|
|
+ ('rhui-client-config-server-10.key', RHUI_PKI_DIR),
|
|
+ ('leapp-aws.repo', YUM_REPOS_PATH)
|
|
+ ],
|
|
+ optional_files=[
|
|
+ ('content-rhel10.key', RHUI_PKI_DIR),
|
|
+ ('cdn.redhat.com-chain.crt', RHUI_PKI_DIR),
|
|
+ ('content-rhel10.crt', RHUI_PKI_PRODUCT_DIR)
|
|
+ ], os_version='10'),
|
|
],
|
|
RHUIFamily(RHUIProvider.AWS, arch=arch.ARCH_ARM64, client_files_folder='aws'): [
|
|
mk_rhui_setup(clients={'rh-amazon-rhui-client-arm'}, optional_files=[], os_version='7', arch=arch.ARCH_ARM64),
|
|
@@ -185,6 +196,17 @@ RHUI_SETUPS = {
|
|
('cdn.redhat.com-chain.crt', RHUI_PKI_DIR),
|
|
('content-rhel9.crt', RHUI_PKI_PRODUCT_DIR)
|
|
], os_version='9', arch=arch.ARCH_ARM64),
|
|
+ mk_rhui_setup(clients={'rh-amazon-rhui-client'}, leapp_pkg='leapp-rhui-aws',
|
|
+ mandatory_files=[
|
|
+ ('rhui-client-config-server-10.crt', RHUI_PKI_PRODUCT_DIR),
|
|
+ ('rhui-client-config-server-10.key', RHUI_PKI_DIR),
|
|
+ ('leapp-aws.repo', YUM_REPOS_PATH)
|
|
+ ],
|
|
+ optional_files=[
|
|
+ ('content-rhel10.key', RHUI_PKI_DIR),
|
|
+ ('cdn.redhat.com-chain.crt', RHUI_PKI_DIR),
|
|
+ ('content-rhel10.crt', RHUI_PKI_PRODUCT_DIR)
|
|
+ ], os_version='10'),
|
|
],
|
|
RHUIFamily(RHUIProvider.AWS, variant=RHUIVariant.SAP, client_files_folder='aws-sap-e4s'): [
|
|
mk_rhui_setup(clients={'rh-amazon-rhui-client-sap-bundle'}, optional_files=[], os_version='7',
|
|
@@ -250,6 +272,14 @@ RHUI_SETUPS = {
|
|
],
|
|
extra_info={'agent_pkg': 'WALinuxAgent'},
|
|
os_version='9'),
|
|
+ mk_rhui_setup(clients={'rhui-azure-rhel10'}, leapp_pkg='leapp-rhui-azure',
|
|
+ mandatory_files=[('leapp-azure.repo', YUM_REPOS_PATH)],
|
|
+ optional_files=[
|
|
+ ('key.pem', RHUI_PKI_DIR),
|
|
+ ('content.crt', RHUI_PKI_PRODUCT_DIR)
|
|
+ ],
|
|
+ extra_info={'agent_pkg': 'WALinuxAgent'},
|
|
+ os_version='10'),
|
|
],
|
|
RHUIFamily(RHUIProvider.AZURE, variant=RHUIVariant.SAP_APPS, client_files_folder='azure-sap-apps'): [
|
|
mk_rhui_setup(clients={'rhui-azure-rhel7-base-sap-apps'}, os_version='7', content_channel=ContentChannel.EUS),
|
|
--
|
|
2.50.1
|
|
|