From 1d55f856ae8896248c994dafc18a7a34808b66b5 Mon Sep 17 00:00:00 2001 From: derek-j-pitman <70220747+derek-j-pitman@users.noreply.github.com> Date: Tue, 6 Jul 2021 04:53:12 -0400 Subject: [PATCH 1/3] Add support for Rocky Linux 8 (#869) --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 806d147..e99d78c 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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." From bcd1d8a53ec7b5a5d7f96ca10be0d4055b1b3596 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Tue, 6 Jul 2021 10:56:15 +0200 Subject: [PATCH 2/3] Document Rocky Linux support --- README.md | 3 ++- openvpn-install.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2757795..19b17f9 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/openvpn-install.sh b/openvpn-install.sh index e99d78c..3527ed0 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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() { From d03d8d45804a7cfa7a1a04d34a3a40db1f7a62d8 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Tue, 6 Jul 2021 10:58:42 +0200 Subject: [PATCH 3/3] ci: update OS images --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce068a1..2036848 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: