Redo: Change from wget to curl when fetching create_lxc.sh (#1250)

This commit is contained in:
Duncan Hill 2025-01-06 21:58:58 +00:00 committed by GitHub
parent 6adf8e38b0
commit 7621c063f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -820,7 +820,7 @@ build_container() {
$PW $PW
" "
# This executes create_lxc.sh and creates the container and .conf file # This executes create_lxc.sh and creates the container and .conf file
bash -c "$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" || exit bash -c "$(curl -sL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/create_lxc.sh)" || exit
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
if [ "$CT_TYPE" == "0" ]; then if [ "$CT_TYPE" == "0" ]; then