Add Debian 12
This commit is contained in:
parent
81366c814f
commit
67e71a5e51
@ -73,7 +73,7 @@ https://gitlab.com/hwdsl2/setup-ipsec-vpn/-/raw/master/vpnsetup.sh
|
||||
一个云服务器,虚拟专用服务器 (VPS) 或者专用服务器,安装以下操作系统之一:
|
||||
|
||||
- Ubuntu 22.04 或者 20.04
|
||||
- Debian 11 或者 10
|
||||
- Debian 12, 11 或者 10
|
||||
- CentOS 7 或者 CentOS Stream 9/8
|
||||
- Rocky Linux 或者 AlmaLinux 9/8
|
||||
- Oracle Linux 9, 8 或者 7
|
||||
|
@ -73,7 +73,7 @@ A pre-built [Docker image](https://github.com/hwdsl2/docker-ipsec-vpn-server) is
|
||||
A cloud server, virtual private server (VPS) or dedicated server, with an install of:
|
||||
|
||||
- Ubuntu 22.04 or 20.04
|
||||
- Debian 11 or 10
|
||||
- Debian 12, 11 or 10
|
||||
- CentOS 7 or CentOS Stream 9/8
|
||||
- Rocky Linux or AlmaLinux 9/8
|
||||
- Oracle Linux 9, 8 or 7
|
||||
|
@ -265,6 +265,12 @@ install_vpn_pkgs() {
|
||||
libcurl4-nss-dev flex bison gcc make libnss3-tools \
|
||||
libevent-dev libsystemd-dev uuid-runtime ppp xl2tpd >/dev/null
|
||||
) || exiterr2
|
||||
if [ "$os_type" = "debian" ] && [ "$os_ver" = 12 ]; then
|
||||
(
|
||||
set -x
|
||||
apt-get -yqq install rsyslog >/dev/null
|
||||
) || exiterr2
|
||||
fi
|
||||
}
|
||||
|
||||
install_nss_pkgs() {
|
||||
|
Loading…
Reference in New Issue
Block a user