Update install_pve6.sh

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

View file

@ -58,7 +58,7 @@ apt -y install proxmox-ve postfix open-iscsi
url="https://${ip}:8006/" url="https://${ip}:8006/"
echo "安装完毕请打开HTTPS网页 {$url}" echo "安装完毕请打开HTTPS网页 {$url}"
echo "用户名、密码就是服务器所使用的用户名、密码" echo "用户名、密码就是服务器所使用的用户名、密码"
if curl --output /dev/null --silent --insecure --head --fail "$url"; then if curl -L --output /dev/null --silent --insecure --head --fail "$url"; then
echo "安装成功" echo "安装成功"
else else
echo "安装失败" echo "安装失败"