Skip to content

Conversation

markgoddard
Copy link
Contributor

If an existing system has not been deployed with EPEL repositories, then
the EPEL GPG key will not be present on the system. Enabling EPEL
repositories using a file-based GPG key would then fail, and break
subsequent DNF commands. Specify the EPEL GPG key via URL to avoid this
issue when EPEL is enabled. Allow the URL to be configured via
dnf_epel_gpg_key_url for air-gapped environments.

EPEL is no longer required for a default installation. Let's stop
installing epel-release by default by setting dnf_install_epel to false.

Also, add a new dnf_enable_epel variable that defaults to the value of
dnf_install_epel, and determines whether EPEL repositories will be
enabled on hosts.

If an existing system has not been deployed with EPEL repositories, then
the EPEL GPG key will not be present on the system.  Enabling EPEL
repositories using a file-based GPG key would then fail, and break
subsequent DNF commands. Specify the EPEL GPG key via URL to avoid this
issue when EPEL is enabled. Allow the URL to be configured via
dnf_epel_gpg_key_url for air-gapped environments.

EPEL is no longer required for a default installation. Let's stop
installing epel-release by default by setting dnf_install_epel to false.

Also, add a new dnf_enable_epel variable that defaults to the value of
dnf_install_epel, and determines whether EPEL repositories will be
enabled on hosts.
@markgoddard markgoddard self-assigned this Dec 23, 2021
@markgoddard markgoddard marked this pull request as ready for review January 14, 2022 09:23
@markgoddard
Copy link
Contributor Author

Tested in an all-in-one, and in use at leafcloud.

@markgoddard markgoddard merged commit 8ae387c into stackhpc/wallaby Jan 14, 2022
@markgoddard markgoddard deleted the disable-epel branch January 14, 2022 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants