Update build.func

This commit is contained in:
CanbiZ (MickLesk)
2026-03-03 13:40:40 +01:00
parent 1ae3275248
commit e29561e401

View File

@@ -3461,9 +3461,8 @@ install_script() {
fi
[[ "${timezone:-}" == Etc/* ]] && timezone="host" # pct doesn't accept Etc/* zones
# Show APP Header then run preflight (after header_info so output is visible)
# Show APP Header
header_info
run_preflight
# --- Support CLI argument as direct preset (default, advanced, …) ---
CHOICE="${mode:-${1:-}}"
@@ -3993,6 +3992,12 @@ start() {
build_container() {
# if [ "$VERBOSE" == "yes" ]; then set -x; fi
# Run preflight checks once (skipped on recursive retry calls)
if [[ "${PREFLIGHT_DONE:-}" != "true" ]]; then
run_preflight
PREFLIGHT_DONE=true
fi
NET_STRING="-net0 name=eth0,bridge=${BRG:-vmbr0}"
# MAC