Feature #28116
Automatically add AppStream repo next to BaseOS as additional media
Description
Katello automatically adds BaseOS and AppStream as additional media so RHEL8 provisioning works. There is currently an issue with that tracked as #27948 but the feature works with RHEL8.
For Foreman core (normal Installation media provisioning) however, there is no such a feature. This is my attempt to fill the gap - if user adds repo containing /BaseOS/ and it is redhat family with major version 8 or higher, Foreman will add new repository named "AppStream" with the same URL but with BaseOS replaced with AppStream which matches all CentOS mirrors as well as RHEL8 CDN. This enables seamless CentOS8 provisioning with Foreman core, installation media must be set to: http://mirror.centos.org/centos/$major/BaseOS/$arch/kickstart/ in order to work.
Related issues
Associated revisions
History
#1
Updated by Lukas Zapletal over 1 year ago
- Related to Bug #27948: CentOS 8 install fails missing "../../../AppStream" repo when Installation Media is foreman repo. added
#2
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7123 added
#3
Updated by The Foreman Bot 8 months ago
- Fixed in Releases 2.2.0 added
#4
Updated by Tomer Brisker 8 months ago
- Fixed in Releases 2.0.1, 2.1.0 added
- Fixed in Releases deleted (
2.2.0)
#5
Updated by Lukas Zapletal 8 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset f41cb5b992d4a6bc21240345f7a91c80c90a5866.
#6
Updated by The Foreman Bot 8 months ago
- Pull request https://github.com/theforeman/foreman/pull/7708 added
#7
Updated by The Foreman Bot 5 months ago
- Pull request https://github.com/theforeman/foreman/pull/7975 added
Fixes #28116 - introduce CentOS mirror (8.x) inst. media