From a4d389009d09a6e55767e8ca7940aebc29c585b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Filipek?= Date: Sat, 16 Oct 2021 19:23:31 +0200 Subject: [PATCH] Enable oracle-epel-release for Oracle Linux --- openvpn-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index a31713a..860047f 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