HelperScripts-for-ProxmoxVE/misc
CanbiZ (MickLesk) 3c38647055
core: improve system update information / lxc stack upgrade (#13970)
* fix(lxc-stack): use dist-upgrade and improve recovery prompt

When the host LXC stack is too old for a template, upgrading only
pve-container/lxc-pve can leave the Proxmox stack in an inconsistent state.
Use a full dist-upgrade instead.

Also refine the recovery prompt:
- [1] Upgrade LXC stack now
- [2] Older template fallback only when actually available
- [3] Ignore
- [4] Cancel

Do not auto-fallback to an older template after ignore/failure; honor the
user's explicit choice and stop with a clear error instead.

* chore(lxc-stack-prompt): clarify host dist-upgrade action in option 1

* Update build.func

* fix(lxc-stack): use host upgrade instead of dist-upgrade in recovery flow

* Enhance upgrade prompt with warning message

Added a warning message to inform users about the implications of running the host upgrade.

---------

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2026-04-23 20:52:59 +02:00
..
images remove old files and assets (#9991) 2025-12-15 17:37:26 +01:00
alpine-install.func core: APT/APK Mirror Fallback for CDN Failures (#13316) 2026-03-26 16:53:04 +01:00
alpine-tools.func core/tools: replace generic return 1 exit_codes with more specific exit_codes (#13311) 2026-03-26 16:07:38 +01:00
api.func core: fix some pct create issues (telemetry) + cleanup (#13810) 2026-04-17 15:19:52 +02:00
build.func core: improve system update information / lxc stack upgrade (#13970) 2026-04-23 20:52:59 +02:00
cloud-init.func core/tools: replace generic return 1 exit_codes with more specific exit_codes (#13311) 2026-03-26 16:07:38 +01:00
core.func Revert "core: Add PHS_VERBOSE env var to skip verbose mode prompts (#13797)" (#13963) 2026-04-23 15:30:38 +02:00
error_handler.func core: silent() function - use return instead of exit to allow || true error handling (#13529) 2026-04-05 21:02:56 +02:00
install.func APT Proxy: Support full URLs (http/https with custom ports) (#13474) 2026-04-03 21:17:07 +02:00
tools.func fix(tools.func): upgrade Node.js minor/patch on same major version (#13957) 2026-04-23 15:49:54 +02:00
vm-core.func Add donate & script page badges to descriptions (#13596) 2026-04-08 21:40:52 +02:00