Skip to content

Commit

Permalink
rhui(alibaba): add ARM RHEL8 and RHEL9 setup entries (oamg#1277)
Browse files Browse the repository at this point in the history
Since leapp's RHUI mechanism filters setups based on the architecture of the source system,
it was not possible to upgrade of ARM-based RHEL systems on Alibaba cloud as there
were no ARM entries in RHUI_SETUPS. This patch adds these entries, making it possible
for EL 8 -> 9 upgrades of ARM systems on Alibaba cloud.

(cherry picked from commit fbc38d4)
  • Loading branch information
jinkkkang authored and yuravk committed Nov 26, 2024
1 parent 6a729ed commit 9dd634a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions repos/system_upgrade/common/libraries/rhui.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,22 @@ def mk_rhui_setup(clients=None, leapp_pkg='', mandatory_files=None, optional_fil
('content.crt', RHUI_PKI_PRODUCT_DIR)
],
os_version='9'),
],
RHUIFamily(RHUIProvider.ALIBABA, arch=arch.ARCH_ARM64, client_files_folder='alibaba'): [
mk_rhui_setup(clients={'aliyun_rhui_rhel8'}, leapp_pkg='leapp-rhui-alibaba',
mandatory_files=[('leapp-alibaba.repo', YUM_REPOS_PATH)],
optional_files=[
('key.pem', RHUI_PKI_DIR),
('content.crt', RHUI_PKI_PRODUCT_DIR)
],
os_version='8'),
mk_rhui_setup(clients={'aliyun_rhui_rhel9'}, leapp_pkg='leapp-rhui-alibaba',
mandatory_files=[('leapp-alibaba.repo', YUM_REPOS_PATH)],
optional_files=[
('key.pem', RHUI_PKI_DIR),
('content.crt', RHUI_PKI_PRODUCT_DIR)
],
os_version='9'),
]
}

Expand Down

0 comments on commit 9dd634a

Please sign in to comment.