mirror of
https://github.com/namibia/openvpn-install.git
synced 2024-06-01 11:00:48 +00:00
Compare commits
3 Commits
80feebed16
...
5a4b31bd0d
Author | SHA1 | Date | |
---|---|---|---|
|
5a4b31bd0d | ||
|
651e36c6cb | ||
|
1a249c621d |
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -2,6 +2,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- ci
|
||||||
|
|
||||||
name: Test
|
name: Test
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -13,16 +14,14 @@ jobs:
|
||||||
os-image:
|
os-image:
|
||||||
- debian-10-x64
|
- debian-10-x64
|
||||||
- debian-11-x64
|
- debian-11-x64
|
||||||
- ubuntu-18-04-x64
|
- debian-12-x64
|
||||||
- ubuntu-20-04-x64
|
- ubuntu-20-04-x64
|
||||||
- ubuntu-22-04-x64
|
- ubuntu-22-04-x64
|
||||||
- fedora-35-x64
|
- fedora-37-x64
|
||||||
# - fedora-36-x64
|
- fedora-38-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
|
# - centos-stream-9-x64 # yum oomkill
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.2.0
|
- uses: actions/checkout@v3.2.0
|
||||||
|
|
||||||
|
|
22
README.md
22
README.md
|
@ -117,21 +117,21 @@ The script supports these Linux distributions:
|
||||||
|
|
||||||
| | Support |
|
| | Support |
|
||||||
| ------------------ | ------- |
|
| ------------------ | ------- |
|
||||||
| AlmaLinux 8 | ✅ |
|
| AlmaLinux 8 | ✅ |
|
||||||
| Amazon Linux 2 | ✅ |
|
| Amazon Linux 2 | ✅ |
|
||||||
| Arch Linux | ✅ |
|
| Arch Linux | ✅ |
|
||||||
| CentOS 7 | ✅ 🤖 |
|
| CentOS 7 | ✅ 🤖 |
|
||||||
| CentOS Stream >= 8 | ✅ 🤖 |
|
| CentOS Stream >= 8 | ✅ 🤖 |
|
||||||
| Debian >= 10 | ✅ 🤖 |
|
| Debian >= 10 | ✅ 🤖 |
|
||||||
| Fedora >= 35 | ✅ 🤖 |
|
| Fedora >= 35 | ✅ 🤖 |
|
||||||
| Oracle Linux 8 | ✅ |
|
| Oracle Linux 8 | ✅ |
|
||||||
| Rocky Linux 8 | ✅ |
|
| Rocky Linux 8 | ✅ |
|
||||||
| Ubuntu >= 18.04 | ✅ 🤖 |
|
| Ubuntu >= 18.04 | ✅ 🤖 |
|
||||||
|
|
||||||
To be noted:
|
To be noted:
|
||||||
|
|
||||||
- The script is regularly tested against the distributions marked with a 🤖 only.
|
- The script is regularly tested against the distributions marked with a 🤖 only.
|
||||||
- It's only test on `amd64` architecture.
|
- It's only tested 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 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.
|
- It should also support versions between the LTS versions, but these are not tested.
|
||||||
- The script requires `systemd`.
|
- The script requires `systemd`.
|
||||||
|
|
|
@ -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 -lt 7 ]]; 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