HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 69de9fa57e
Improve error handling and logging for LXC builds (#12208)
Prevent host-side error_handler from being triggered during in-container install/recovery by delaying re-enabling set -Eeuo pipefail and the ERR trap in misc/build.func until after install/recovery completes; add explanatory comments. Update misc/error_handler.func to fall back to BUILD_LOG if container-internal log path is unavailable, show the last 20 log lines when present, refine container vs host detection (check INSTALL_LOG file and /root), copy INSTALL_LOG into /root and write a .failed flag with the exit code for host-side detection, and ensure full-log output and container removal prompt are shown appropriately in host context. Tweak misc/core.func silent() output to include a "Full log" path and adjust formatting.
2026-02-23 13:22:09 +01:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func Add post_progress_to_api lightweight telemetry ping 2026-02-18 16:19:19 +01:00
alpine-tools.func tools.func: persist /usr/local/bin in shell PATHs (#11970) 2026-02-16 10:30:05 +01:00
api.func Add post_progress_to_api lightweight telemetry ping 2026-02-18 16:19:19 +01:00
build.func Improve error handling and logging for LXC builds (#12208) 2026-02-23 13:22:09 +01:00
cloud-init.func feat(cloud-init): add interactive SSH key discovery and selection (#11547) 2026-02-05 08:11:13 +01:00
core.func Improve error handling and logging for LXC builds (#12208) 2026-02-23 13:22:09 +01:00
error_handler.func Improve error handling and logging for LXC builds (#12208) 2026-02-23 13:22:09 +01:00
install.func Add post_progress_to_api lightweight telemetry ping 2026-02-18 16:19:19 +01:00
tools.func bookworm arc support 2026-02-23 13:08:39 +01:00
vm-core.func core/vm's: ensure script state is sent on script exit (#11991) 2026-02-16 17:14:00 +01:00