1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 05:33:30 +03:00

Update openvpn-install.sh

change oracle linux 8 to any
This commit is contained in:
George Lazarev 2021-07-12 11:36:29 +03:00 committed by GitHub
parent 7b09018d38
commit 9ce5ac9acf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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