build.func now sources a script locally

This commit is contained in:
Paul 2024-11-26 13:25:03 +13:00 committed by GitHub
parent a61c42ea4d
commit 8a6b2962ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -666,7 +666,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
EOF'
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
fi
lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/$var_install.sh)" || exit
lxc-attach -n "$CTID" -- bash -c "$(cat install/$var_install.sh)" || exit
}