mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-11 00:34:59 +00:00
Update build.func
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user