diff --git a/install_pve7.sh b/install_pve7.sh index f70bd83..97fc15e 100644 --- a/install_pve7.sh +++ b/install_pve7.sh @@ -66,7 +66,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