This commit is contained in:
CanbiZ 2025-05-07 13:20:26 +02:00
parent aec940a1bb
commit 1ba68f6461
2 changed files with 2 additions and 0 deletions

View File

@ -279,6 +279,7 @@ if ! pct create "$CTID" "${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE}" "${PCT_OPTIONS[
exit 209
fi
fi
: "${UDHCPC_FIX:=}"
if [ "$UDHCPC_FIX" == "yes" ]; then
# Ensure container is mounted
if ! mount | grep -q "/var/lib/lxc/${CTID}/rootfs"; then

View File

@ -358,6 +358,7 @@ base_settings() {
SSH="no"
SSH_AUTHORIZED_KEY=""
TAGS="community-script;"
UDHCPC_FIX=""
# Override default settings with variables from ct script
CT_TYPE=${var_unprivileged:-$CT_TYPE}