HelperScripts-for-ProxmoxVE/misc
CanbiZ 35793051a1
core: load app defaults before applying base_settings / fix composer cleanup after install/update (#9965)
* fix(build): load app defaults before applying base_settings

App defaults were loaded after base_settings, causing saved values to be ignored.
Now loads var_* from app defaults file before calling base_settings.

* fix(cleanup): suppress composer root warning in cleanup_lxc

Composer's clear-cache command prompts for confirmation when run as root,
causing scripts to hang at 'Cleaning up' stage. Set COMPOSER_ALLOW_SUPERUSER=1
to suppress the interactive prompt.

Fixes #9952 (Heimdall Dashboard), also affects BentoPDF and other PHP apps.

* Fix COMPOSER_ALLOW_SUPERUSER export in cleanup_lxc

Exports COMPOSER_ALLOW_SUPERUSER before running composer clear-cache to ensure the environment variable is set correctly during cleanup.
2025-12-15 09:37:01 +01:00
..
images ProxmoxVE svg logo (#6846) 2025-08-14 22:01:20 +02:00
alpine-install.func feat(motd): dynamically read OS version on each login (#9751) 2025-12-07 21:29:09 +01:00
alpine-tools.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
api.func Three-tier defaults system | security improvements | error_handler | improved logging | improved container creation | improved architecture (#9540) 2025-12-04 07:52:18 +01:00
build.func core: load app defaults before applying base_settings / fix composer cleanup after install/update (#9965) 2025-12-15 09:37:01 +01:00
cloud-init.func core: add cloud-init.func library for VM configuration (#9538) 2025-12-01 13:49:42 +01:00
core.func core: load app defaults before applying base_settings / fix composer cleanup after install/update (#9965) 2025-12-15 09:37:01 +01:00
error_handler.func core: extend storage type support (rbd, nfs, cifs) and validation (iscidirect, isci, zfs, cephfs, pbs) (#9646) 2025-12-04 19:41:01 +01:00
install.func feat(motd): dynamically read OS version on each login (#9751) 2025-12-07 21:29:09 +01:00
tools.func fix(tools): handle repos with 30+ pre-releases in check_for_gh_release (#9786) 2025-12-09 15:49:43 +01:00