From f38b7b4f984651a46123444711763225c5498d05 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 15 Feb 2023 12:26:12 +0800 Subject: [PATCH] Update install_pve6.sh --- install_pve6.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_pve6.sh b/install_pve6.sh index 39c7576..e779033 100644 --- a/install_pve6.sh +++ b/install_pve6.sh @@ -57,7 +57,8 @@ else fi # 新增pve源 -case $(lsb_release -cs) in +version=$(lsb_release -cs) +case $version in jessie|stretch|buster|bullseye) repo_url="deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve ${version} pve-no-subscription" if [[ -n "${CN}" ]]; then