mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-21 16:29:04 +01:00
Add support for CentOS 9 + update supported distributions
This commit is contained in:
parent
2f76bb5e40
commit
d2556ff235
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -17,8 +17,12 @@ jobs:
|
|||||||
- ubuntu-20-04-x64
|
- ubuntu-20-04-x64
|
||||||
- ubuntu-22-04-x64
|
- ubuntu-22-04-x64
|
||||||
- fedora-35-x64
|
- fedora-35-x64
|
||||||
|
# - fedora-36-x64
|
||||||
|
# - fedora-37-x64
|
||||||
|
# dnf is broken: https://ask.fedoraproject.org/t/dnf-operations-use-large-amount-of-ram-and-may-fail-in-low-memory-environments/26427
|
||||||
- centos-7-x64
|
- centos-7-x64
|
||||||
- centos-stream-8-x64
|
- centos-stream-8-x64
|
||||||
|
- centos-stream-9-x64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.2.0
|
- uses: actions/checkout@v3.2.0
|
||||||
|
|
||||||
|
33
README.md
33
README.md
@ -114,27 +114,28 @@ export PASS="1"
|
|||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
The script supports these OS and architectures:
|
The script supports these Linux distributions:
|
||||||
|
|
||||||
| | i386 | amd64 | armhf | arm64 |
|
| | Support |
|
||||||
| --------------- | ---- | ----- | ----- | ----- |
|
| ------------------ | ------- |
|
||||||
| Amazon Linux 2 | ❔ | ✅ | ❔ | ❔ |
|
| AlmaLinux 8 | ✅ |
|
||||||
| Arch Linux | ❔ | ✅ | ❔ | ✅ |
|
| Amazon Linux 2 | ✅ |
|
||||||
| CentOS 7 | ✅ | ✅ | ✅ | ✅ |
|
| Arch Linux | ✅ |
|
||||||
| CentOS 8 | ❌ | ✅ | ❌ | ✅ |
|
| CentOS 7 | ✅ 🤖 |
|
||||||
| Debian >= 9 | ✅ | ✅ | ✅ | ✅ |
|
| CentOS Stream >= 8 | ✅ 🤖 |
|
||||||
| Fedora >= 27 | ❔ | ✅ | ❔ | ❔ |
|
| Debian >= 10 | ✅ 🤖 |
|
||||||
| Ubuntu 16.04 | ✅ | ✅ | ❌ | ❌ |
|
| Fedora >= 35 | ✅ 🤖 |
|
||||||
| Ubuntu >= 18.04 | ✅ | ✅ | ✅ | ✅ |
|
| Oracle Linux 8 | ✅ |
|
||||||
| Oracle Linux 8 | ❌ | ✅ | ❌ | ❔ |
|
| Rocky Linux 8 | ✅ |
|
||||||
| Rocky Linux 8 | ❔ | ✅ | ❔ | ❔ |
|
| Ubuntu >= 18.04 | ✅ 🤖 |
|
||||||
| AlmaLinux 8 | ❌ | ✅ | ❌ | ❔ |
|
|
||||||
|
|
||||||
To be noted:
|
To be noted:
|
||||||
|
|
||||||
- It should work on Debian 8+ and Ubuntu 16.04+. But versions not in the table above are not officially supported.
|
- The script is regularly tested against the distributions marked with a 🤖 only.
|
||||||
|
- It's only test on `amd64` architecture.
|
||||||
|
- It should work on older versions such as Debian 8+, Ubuntu 16.04+ and previous Fedora releases. But versions not in the table above are not officially supported.
|
||||||
|
- It should also support versions between the LTS versions, but these are not tested.
|
||||||
- The script requires `systemd`.
|
- The script requires `systemd`.
|
||||||
- The script is regularly tested against `amd64` only.
|
|
||||||
|
|
||||||
## Fork
|
## Fork
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ function checkOS() {
|
|||||||
fi
|
fi
|
||||||
if [[ $ID == "centos" || $ID == "rocky" || $ID == "almalinux" ]]; then
|
if [[ $ID == "centos" || $ID == "rocky" || $ID == "almalinux" ]]; then
|
||||||
OS="centos"
|
OS="centos"
|
||||||
if [[ ! $VERSION_ID =~ (7|8) ]]; then
|
if [[ $VERSION_ID -lt 7 ]]; then
|
||||||
echo "⚠️ Your version of CentOS is not supported."
|
echo "⚠️ Your version of CentOS is not supported."
|
||||||
echo ""
|
echo ""
|
||||||
echo "The script only support CentOS 7 and CentOS 8."
|
echo "The script only support CentOS 7 and CentOS 8."
|
||||||
|
Loading…
Reference in New Issue
Block a user