mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-03 17:27:17 +08:00
Update install_pve.sh
This commit is contained in:
parent
a67f1a75b0
commit
a5448db6c6
1 changed files with 12 additions and 1 deletions
|
@ -259,7 +259,18 @@ if echo $output | grep -q "NO_PUBKEY"; then
|
|||
_yellow "try sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys missing key"
|
||||
exit 1
|
||||
fi
|
||||
apt-get install -y proxmox-ve postfix open-iscsi
|
||||
apt-get install -y proxmox-ve
|
||||
if [ $? -ne 0 ]; then
|
||||
apt-get install -y proxmox-ve --fix-missing
|
||||
fi
|
||||
apt-get install -y postfix
|
||||
if [ $? -ne 0 ]; then
|
||||
apt-get install -y postfix --fix-missing
|
||||
fi
|
||||
apt-get install -y open-iscsi
|
||||
if [ $? -ne 0 ]; then
|
||||
apt-get install -y open-iscsi --fix-missing
|
||||
fi
|
||||
|
||||
# 如果是国内服务器则替换CT源为国内镜像源
|
||||
if [[ -n "${CN}" ]]; then
|
||||
|
|
Loading…
Reference in a new issue