Skip to content

Commit

Permalink
Allow running Enterprise Linux release 10 too
Browse files Browse the repository at this point in the history
Signed-off-by: Anders F Björklund <[email protected]>
  • Loading branch information
afbjorklund committed Dec 14, 2024
1 parent f5ed996 commit 1fb2529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ elif command -v dnf >/dev/null 2>&1; then
dnf install ${dnf_install_flags} oracle-epel-release-el9
dnf config-manager --disable ol9_developer_EPEL >/dev/null 2>&1
dnf_install_flags="${dnf_install_flags} --enablerepo ol9_developer_EPEL"
elif grep -q "release 9" /etc/system-release; then
elif grep -q -E "release (9|10)" /etc/system-release; then
# shellcheck disable=SC2086
dnf install ${dnf_install_flags} epel-release
dnf config-manager --disable epel >/dev/null 2>&1
Expand Down

0 comments on commit 1fb2529

Please sign in to comment.