From 3a8e228f300b13e16c04fa5a2a22894fef5cd0d9 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 15 Feb 2023 10:52:11 +0800 Subject: [PATCH] Update install_pve6.sh --- install_pve6.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_pve6.sh b/install_pve6.sh index dca7a83..302167d 100644 --- a/install_pve6.sh +++ b/install_pve6.sh @@ -58,7 +58,7 @@ apt -y install proxmox-ve postfix open-iscsi url="https://${ip}:8006/" echo "安装完毕,请打开HTTPS网页 {$url}" 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 "安装成功" else echo "安装失败"