Update install_pve7.sh

This commit is contained in:
spiritLHLS 2023-02-15 12:29:37 +08:00 committed by GitHub
parent bbf06b1938
commit f9250f930b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,9 +69,9 @@ fi
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
repo_url="deb http://download.proxmox.com/debian/pve ${version} pve-no-subscription"
if [[ -n "${CN}" ]]; then
repo_url="deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian/pve ${version} pve-no-subscription"
fi
;;
*)