39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
|
From f0ff88658cfa5fb4c766fb2cc44dc93fbe08958d Mon Sep 17 00:00:00 2001
|
||
|
From: "jinkangkang.jkk" <jinkangkang.jkk@alibaba-inc.com>
|
||
|
Date: Wed, 29 Nov 2023 11:18:11 +0800
|
||
|
Subject: [PATCH 64/66] Cover upgrades RHEL 8 to RHEL 9 using RHUI on Alibaba
|
||
|
cloud
|
||
|
|
||
|
Note the repomap.json file does not cover yet mapping of repositories
|
||
|
between RHEL 8 and RHEL 9 for aarch64 (ARM). This will be covered
|
||
|
by further update of the file.
|
||
|
---
|
||
|
repos/system_upgrade/common/libraries/rhui.py | 11 +++++++++++
|
||
|
1 file changed, 11 insertions(+)
|
||
|
|
||
|
diff --git a/repos/system_upgrade/common/libraries/rhui.py b/repos/system_upgrade/common/libraries/rhui.py
|
||
|
index b31eba0b..2dfb209c 100644
|
||
|
--- a/repos/system_upgrade/common/libraries/rhui.py
|
||
|
+++ b/repos/system_upgrade/common/libraries/rhui.py
|
||
|
@@ -481,6 +481,17 @@ RHUI_CLOUD_MAP = {
|
||
|
('leapp-google-sap.repo', YUM_REPOS_PATH)
|
||
|
],
|
||
|
},
|
||
|
+ 'alibaba': {
|
||
|
+ 'src_pkg': 'aliyun_rhui_rhel8',
|
||
|
+ 'target_pkg': 'aliyun_rhui_rhel9',
|
||
|
+ 'leapp_pkg': 'leapp-rhui-alibaba',
|
||
|
+ 'leapp_pkg_repo': 'leapp-alibaba.repo',
|
||
|
+ 'files_map': [
|
||
|
+ ('content.crt', RHUI_PKI_PRODUCT_DIR),
|
||
|
+ ('key.pem', RHUI_PKI_DIR),
|
||
|
+ ('leapp-alibaba.repo', YUM_REPOS_PATH)
|
||
|
+ ],
|
||
|
+ },
|
||
|
},
|
||
|
}
|
||
|
|
||
|
--
|
||
|
2.43.0
|
||
|
|