From 1ba68f6461b9eb84689c9a37c9616450567da00b Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 7 May 2025 13:20:26 +0200 Subject: [PATCH] fixes --- ct/create_lxc.sh | 1 + misc/build.func | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index a056800..8ae7a15 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -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 diff --git a/misc/build.func b/misc/build.func index cecbf47..7435c8a 100644 --- a/misc/build.func +++ b/misc/build.func @@ -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}