fix: 修复debian13安装PVE9时证书适配错误的问题,修改证书源位置

This commit is contained in:
spiritlhl 2025-08-14 11:12:55 +00:00
parent 0b2a190d1a
commit b8eb3df487
7 changed files with 11 additions and 9 deletions

View file

@ -11,6 +11,8 @@
2025.08.14
- 修复环境检测支持PVE9的Debian13进行安装
- 修复sysctl设置失效的问题适配debian13系统的新设置方式
- 修复debian13安装PVE9时证书适配错误的问题修改证书源位置
[更新日志](CHANGELOG.md)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -938,8 +938,8 @@ check_system_requirements() {
# 检测系统信息
detect_system_info() {
_yellow "Detecting system information, will probably stay on the page for up to 1~2 minutes"
_yellow "正在检测系统信息,大概会停留在该页面最多1~2分钟"
_yellow "Detecting system information, will probably stay on the page for up to 1~2 minutes at most"
_yellow "正在检测系统信息,最多会停留在该页面 1~2 分钟"
# 重启网络服务
restart_network_service
# 收集IP地址信息
@ -1472,18 +1472,18 @@ add_pve_gpg_key() {
chmod +r /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
fi
;;
bookworm|trixie)
bookworm)
if [ ! -f "/etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg" ]; then
wget http://download.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
chmod +r /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
fi
;;
# trixie)
# if [ ! -f "/etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg" ]; then
# wget http://download.proxmox.com/debian/proxmox-release-trixie.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg
# chmod +r /etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg
# fi
# ;;
trixie)
if [ ! -f "/etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg" ]; then
wget https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg
chmod +r /etc/apt/trusted.gpg.d/proxmox-release-trixie.gpg
fi
;;
*)
_red "Error: Unsupported Debian version"
if ! confirm_continue "是否要继续安装(识别到不是Debian9~Debian12的范围)"; then