Update install_pve7.sh

This commit is contained in:
spiritLHLS 2023-02-13 18:56:00 +08:00 committed by GitHub
parent 0a3f8c10ae
commit 8efa571109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,9 +51,10 @@ echo "$repo_url" >> /etc/apt/sources.list
# 下载pve
apt-get update && apt-get full-upgrade
apt-get install debian-keyring debian-archive-keyring -y
apt-get autoremove
apt-get update
if [ $? -ne 0 ]; then
apt-get install debian-keyring debian-archive-keyring -y
apt-get update && apt-get full-upgrade
fi
apt-get -y install proxmox-ve postfix open-iscsi
# 检查pve