Enable oracle-epel-release for Oracle Linux (#930)

This commit is contained in:
Łukasz Filipek 2021-10-18 10:41:06 +02:00 committed by GitHub
parent 8783719459
commit 7d5c2d962d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -675,8 +675,9 @@ function installOpenVPN() {
yum install -y epel-release yum install -y epel-release
yum install -y openvpn iptables openssl wget ca-certificates curl tar 'policycoreutils-python*' yum install -y openvpn iptables openssl wget ca-certificates curl tar 'policycoreutils-python*'
elif [[ $OS == 'oracle' ]]; then elif [[ $OS == 'oracle' ]]; then
yum install -y 'oracle-epel-release-*' yum install -y oracle-epel-release-el8
yum install -y openvpn iptables openssl wget ca-certificates curl tar 'policycoreutils-python*' 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 elif [[ $OS == 'amzn' ]]; then
amazon-linux-extras install -y epel amazon-linux-extras install -y epel
yum install -y openvpn iptables openssl wget ca-certificates curl yum install -y openvpn iptables openssl wget ca-certificates curl