mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-09-14 10:14:35 +08:00
忽略https的证书校验
This commit is contained in:
parent
d83f7d20c4
commit
38adc75c50
3 changed files with 6 additions and 6 deletions
|
@ -140,11 +140,11 @@ if [ "$system_arch" = "x86" ]; then
|
|||
done
|
||||
if [[ "centos8-stream" == "$system" ]]; then
|
||||
url="https://git.ilolicon.dev/Ella-Alinda/images/raw/branch/main/centos8-stream.qcow2"
|
||||
curl -L -o "$file_path" "$url"
|
||||
curl -Lk -o "$file_path" "$url"
|
||||
else
|
||||
if [[ -n "$ver" ]]; then
|
||||
url="${cdn_success_url}https://github.com/oneclickvirt/kvm_images/releases/download/${ver}/${system}.qcow2"
|
||||
curl -L -o "$file_path" "$url"
|
||||
curl -Lk -o "$file_path" "$url"
|
||||
else
|
||||
_red "Unable to install corresponding system, please check https://github.com/oneclickvirt/kvm_images/ for supported system images "
|
||||
_red "无法安装对应系统,请查看 https://github.com/oneclickvirt/kvm_images/ 支持的系统镜像 "
|
||||
|
|
|
@ -137,11 +137,11 @@ if [ "$system_arch" = "x86" ]; then
|
|||
done
|
||||
if [[ "centos8-stream" == "$system" ]]; then
|
||||
url="https://git.ilolicon.dev/Ella-Alinda/images/raw/branch/main/centos8-stream.qcow2"
|
||||
curl -L -o "$file_path" "$url"
|
||||
curl -Lk -o "$file_path" "$url"
|
||||
else
|
||||
if [[ -n "$ver" ]]; then
|
||||
url="${cdn_success_url}https://github.com/oneclickvirt/kvm_images/releases/download/${ver}/${system}.qcow2"
|
||||
curl -L -o "$file_path" "$url"
|
||||
curl -Lk -o "$file_path" "$url"
|
||||
else
|
||||
_red "Unable to install corresponding system, please check https://github.com/oneclickvirt/kvm_images/ for supported system images "
|
||||
_red "无法安装对应系统,请查看 https://github.com/oneclickvirt/kvm_images/ 支持的系统镜像 "
|
||||
|
|
|
@ -165,11 +165,11 @@ if [ "$system_arch" = "x86" ]; then
|
|||
done
|
||||
if [[ "centos8-stream" == "$system" ]]; then
|
||||
url="https://git.ilolicon.dev/Ella-Alinda/images/raw/branch/main/centos8-stream.qcow2"
|
||||
curl -L -o "$file_path" "$url"
|
||||
curl -Lk -o "$file_path" "$url"
|
||||
else
|
||||
if [[ -n "$ver" ]]; then
|
||||
url="${cdn_success_url}https://github.com/oneclickvirt/kvm_images/releases/download/${ver}/${system}.qcow2"
|
||||
curl -L -o "$file_path" "$url"
|
||||
curl -Lk -o "$file_path" "$url"
|
||||
else
|
||||
_red "Unable to install corresponding system, please check https://github.com/oneclickvirt/kvm_images/ for supported system images "
|
||||
_red "无法安装对应系统,请查看 https://github.com/oneclickvirt/kvm_images/ 支持的系统镜像 "
|
||||
|
|
Loading…
Add table
Reference in a new issue