From 28d9a54223fb611e8571b95c123b713f2c0c7ca2 Mon Sep 17 00:00:00 2001 From: Matej Dujava Date: Thu, 18 Jun 2026 00:04:15 +0200 Subject: [PATCH] allow to download corss-arch installer if host architecture and target ocp architecture is same, keep installer in a installers/4.x.y/openshift-install{,-fips}, but if its different put it into installers/4.x.y/arm64/openshift-install{,-fips} for arm64. Fixes: #105 --- osia/installer/downloader/install.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osia/installer/downloader/install.py b/osia/installer/downloader/install.py index 8ea90e9..a7a3deb 100644 --- a/osia/installer/downloader/install.py +++ b/osia/installer/downloader/install.py @@ -171,6 +171,10 @@ def download_installer(installer_version: str, if version: root = root.joinpath(version) + _, local_arch = _current_platform() + if installer_arch != local_arch: + root = root.joinpath(installer_arch) + installer_exe_name = 'openshift-install' if fips: