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}