We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 696b975 + 0f958a3 commit 8cfbf0cCopy full SHA for 8cfbf0c
elements/elrepo/install.d/95-elrepo-packages
@@ -6,7 +6,7 @@ fi
6
7
set -euo pipefail
8
9
-if [[ ${DISTRO_NAME} =~ (centos|rhel) && -n ${DIB_ELREPO_PKGLIST} ]]; then
+if [[ ${DISTRO_NAME} =~ (centos|rhel|rocky) && -n ${DIB_ELREPO_PKGLIST} ]]; then
10
dnf install -y "${DIB_ELREPO_PKGLIST}"
11
else
12
echo "You must set the package list: \"$DIB_ELREPO_PKGLIST\"."
elements/elrepo/pre-install.d/01-elrepo
@@ -7,9 +7,8 @@ fi
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
13
14
if [ ${DIB_ELREPO_KERNEL:-0} -eq 1 ]; then
15
0 commit comments