Skip to content

Commit 3214c78

Browse files
committed
fix for rhel 9
1 parent 6646fca commit 3214c78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

util/installation/rhel/common/prerequisites.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ sudo subscription-manager repos --enable *codeready*
4848

4949
sudo subscription-manager repos --disable "codeready-builder-for-rhel-*-x86_64-eus*"
5050

51+
if $( cat /etc/os-release | grep -q 'PRETTY_NAME="Red Hat Enterprise Linux 9"' ); then
52+
sudo dnf install \
53+
https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
54+
fi
55+
5156
sudo yum update -y
5257

5358
sudo yum install -y --nogpgcheck --skip-broken epel-release

0 commit comments

Comments
 (0)