Update install_pve6.sh

This commit is contained in:
spiritLHLS 2023-02-15 11:02:52 +08:00 committed by GitHub
parent 00c9ffedfe
commit bbbbd5ed3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,10 +53,10 @@ chmod +r /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
echo "$repo_url" >> /etc/apt/sources.list
# 下载pve
apt-get update && apt-get full-upgrade
apt-get update -y && apt-get full-upgrade -y
if [ $? -ne 0 ]; then
apt-get install debian-keyring debian-archive-keyring -y
apt-get update && apt-get full-upgrade
apt-get update -y && apt-get full-upgrade -y
fi
apt -y install proxmox-ve postfix open-iscsi