Project

General

Profile

Actions

Support #26938

open

Additional support for RHEL 8 in provisioning templates.

Added by Dustin Wheeler almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hello!

We are beginning to work on support for RHEL 8 at our site and with the addition of AppStreams1, it looks like we'll need to make changes to configuration to support these. It seems like "normal" installations of RHEL 8 will likely always enable the AppStream repository in addition to the Base OS repository. We've currently got a hack to support this via:

<% if os_major >= 8 -%>
<% appstream_url = @mediapath.gsub('baseos','appstream') -%>
repo --name Red_Hat_Enterprise_Linux_<%= @osver -%>_for_<%= @arch -%>_-_AppStream_Kickstart_<%= @osver -%> --baseurl <%= appstream_url %>
<% end -%>

In this way, AppStreams will be available to all of our machines. Alternatively, we might consider use of `additional_media` and set this parameter on the Operating System entity.

So, I guess my question is: Should there be additional support in the current provisioning templates that is RHEL 8 specific to make it easier to enable/disable the AppStream repository (which is usually deployed on the same server at a different base URL)? Or should users be guided to explicitly configure the app stream additional media themselves?

Lastly, is there a better suggestion for how folks should set up their RHEL 8 machines with Foreman rather than what we've determined above?

1: https://developers.redhat.com/blog/2018/11/15/rhel8-introducing-appstreams/

No data to display

Actions

Also available in: Atom PDF