mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-03 09:25:55 +01:00
Previously, command output during customization and container creation was discarded to /dev/null, making error logs useless for debugging. Examples of what was lost: - apt-get update/install errors during 'Customizing LXC Container' - pveam download failures during template download (exit 222) - pct create output showing why container creation failed (exit 209) Changes: - Redirect apt-get/apk base package output to BUILD_LOG instead of /dev/null - Redirect all pveam download output to BUILD_LOG instead of /dev/null - Add _flush_pct_log() helper that appends pct_create LOGFILE to BUILD_LOG - Call _flush_pct_log() on every exit path in create_lxc_container() - pct create output now appears in the combined installation log (Phase 1) Result: error logs now contain actual command output (apt errors, download failures, pct create errors) instead of only status messages.