From 9ce5ac9acf28d40ef7f46c25435b3f22e93a1a42 Mon Sep 17 00:00:00 2001 From: George Lazarev Date: Mon, 12 Jul 2021 11:36:29 +0300 Subject: [PATCH] Update openvpn-install.sh change oracle linux 8 to any --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 7657209..2ceeeb1 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -231,7 +231,7 @@ LimitNPROC=infinity" > /etc/systemd/system/openvpn-server@server.service.d/disab yum install -y epel-release yum install -y openvpn openssl ca-certificates tar $firewall elif [[ "$os" = "oracle" ]]; then - dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-${os_version}.noarch.rpm dnf install -y openvpn openssl ca-certificates tar $firewall else # Else, OS must be Fedora