Merge branch 'angristan:master' into revoke-client-fixed

This commit is contained in:
fabiogiorgione 2021-07-26 16:30:02 +02:00 committed by GitHub
commit a6e7a76ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -13,11 +13,12 @@ jobs:
os-image:
- debian-9-x64
- debian-10-x64
- ubuntu-16-04-x64
- ubuntu-18-04-x64
- ubuntu-20-04-x64
- fedora-32-x64
- ubuntu-20-10-x64
- ubuntu-21-04-x64
- fedora-33-x64
- fedora-34-x64
- centos-7-x64
- centos-8-x64
steps:

View file

@ -4,7 +4,7 @@
![Lint](https://github.com/angristan/openvpn-install/workflows/Lint/badge.svg)
![visitors](https://visitor-badge.glitch.me/badge?page_id=angristan.openvpn-install)
OpenVPN installer for Debian, Ubuntu, Fedora, CentOS, Oracle Linux and Arch Linux.
OpenVPN installer for Debian, Ubuntu, Fedora, CentOS, Arch Linux, Oracle Linux and Rocky Linux.
This script will let you setup your own secure VPN server in just a few seconds.
@ -126,6 +126,7 @@ The script supports these OS and architectures:
| Ubuntu 16.04 | ✅ | ✅ | ❌ | ❌ |
| Ubuntu >= 18.04 | ✅ | ✅ | ✅ | ✅ |
| Oracle Linux 8 | ❌ | ✅ | ❌ | ❔ |
| Rocky Linux 8 | ❔ | ✅ | ❔ | ❔ |
To be noted:

View file

@ -1,7 +1,7 @@
#!/bin/bash
# shellcheck disable=SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Amazon Linux 2, Fedora, Oracle Linux 8 and Arch Linux
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Amazon Linux 2, Fedora, Oracle Linux 8, Arch Linux and Rocky Linux.
# https://github.com/angristan/openvpn-install
function isRoot() {
@ -55,7 +55,7 @@ function checkOS() {
if [[ $ID == "fedora" || $ID_LIKE == "fedora" ]]; then
OS="fedora"
fi
if [[ $ID == "centos" ]]; then
if [[ $ID == "centos" || $ID == "rocky" ]]; then
OS="centos"
if [[ ! $VERSION_ID =~ (7|8) ]]; then
echo "⚠️ Your version of CentOS is not supported."