Update install_pve6.sh

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

View file

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