mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-06 00:59:13 +00:00
RHEL 7 shipped ppc64le ISOs under the "alternate" label, causing copycds to create distro paths like rhels7.6-alternate/ppc64le. This mismatched osver() which returns rhels7.6 since /etc/os-release has no knowledge of the alternate designation. The architecture (ppc64le vs ppc64) already differentiates the builds, making the alternate suffix redundant. Strip it during auto-detection so copycds paths match osver() output. Fixes #5593