From 7d5c2d962dc4855a1699d1754f0994bbf2d01845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Filipek?= <54245875+rvva@users.noreply.github.com> Date: Mon, 18 Oct 2021 10:41:06 +0200 Subject: [PATCH] Enable oracle-epel-release for Oracle Linux (#930) --- openvpn-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index a31713a..c654647 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -675,8 +675,9 @@ function installOpenVPN() { yum install -y epel-release yum install -y openvpn iptables openssl wget ca-certificates curl tar 'policycoreutils-python*' elif [[ $OS == 'oracle' ]]; then - yum install -y 'oracle-epel-release-*' - yum install -y openvpn iptables openssl wget ca-certificates curl tar 'policycoreutils-python*' + yum install -y oracle-epel-release-el8 + yum-config-manager --enable ol8_developer_EPEL + yum install -y openvpn iptables openssl wget ca-certificates curl tar policycoreutils-python-utils elif [[ $OS == 'amzn' ]]; then amazon-linux-extras install -y epel yum install -y openvpn iptables openssl wget ca-certificates curl