Skip to content

added rocky linux to distro list #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elements/elrepo/install.d/95-elrepo-packages
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fi

set -euo pipefail

if [[ ${DISTRO_NAME} =~ (centos|rhel) && -n ${DIB_ELREPO_PKGLIST} ]]; then
if [[ ${DISTRO_NAME} =~ (centos|rhel|rocky) && -n ${DIB_ELREPO_PKGLIST} ]]; then
dnf install -y "${DIB_ELREPO_PKGLIST}"
else
echo "You must set the package list: \"$DIB_ELREPO_PKGLIST\"."
Expand Down
5 changes: 2 additions & 3 deletions elements/elrepo/pre-install.d/01-elrepo
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ fi
set -euo pipefail

case "$DISTRO_NAME" in
centos* | rhel*)
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
dnf install -y https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
centos* | rhel* | rocky*)
dnf install -y elrepo-release.noarch

if [ ${DIB_ELREPO_KERNEL:-0} -eq 1 ]; then

Expand Down