Compare commits

...

1 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
d9f88cb032 feat(build): add mode=generated for unattended frontend installs
Adds a 'generated' case to install_script() in build.func.
When mode=generated is set, the script runs with default settings
in unattended mode and reports METHOD=generated to telemetry.
This allows the frontend generator to trigger installs without
interactive prompts while being distinguishable in analytics.
2026-03-12 11:04:10 +01:00

View File

@@ -3063,6 +3063,15 @@ install_script() {
header_info
CHOICE=""
;;
generated | GENERATED)
header_info
echo -e "${DEFAULT}${BOLD}${BL}Using Generated Settings on node $PVEHOST_NAME${CL}"
VERBOSE="no"
METHOD="generated"
base_settings "$VERBOSE"
echo_default
break
;;
*)
msg_error "Invalid option: $CHOICE"
exit 112