mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
Analyze logs for generic exit code 1 and export an ERROR_CATEGORY_OVERRIDE so telemetry receives a more accurate error category (apt, oom, network, storage, dependency). Preserve any existing TELEMETRY_TYPE when posting updates. Add defense-in-depth by disabling strict error traps before running grep/sed log analysis to avoid spurious error_handler invocations. Mark successful installs with INSTALL_COMPLETE and update the error handler to only report a successful "done" telemetry state when INSTALL_COMPLETE is explicitly set, preventing false-positive success reports from early zero-exit exits. |
||
|---|---|---|
| .. | ||
| images | ||
| alpine-install.func | ||
| alpine-tools.func | ||
| api.func | ||
| build.func | ||
| cloud-init.func | ||
| core.func | ||
| error_handler.func | ||
| install.func | ||
| tools.func | ||
| vm-core.func | ||