From f348700958057134b5efea2969865e37a0846666 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Mon, 22 Jun 2026 21:39:22 +0200 Subject: [PATCH] fix(build): skip LXC stack upgrade prompt in unattended mode Honor PHS_SILENT=1 and DISABLE_UPDATE=yes by auto-ignoring the host upgrade dialog, matching silent container update behavior. --- misc/build.func | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/build.func b/misc/build.func index a0879a3d3..a04d76fb1 100644 --- a/misc/build.func +++ b/misc/build.func @@ -5722,6 +5722,11 @@ create_lxc_container() { return 0 fi + if [[ "${PHS_SILENT:-0}" == "1" || "${DISABLE_UPDATE,,}" == "yes" ]]; then + msg_info "Skipping host LXC stack upgrade prompt (unattended mode)" + return 2 + fi + msg_warn "An update for the Proxmox LXC stack is available" echo " pve-container: installed=${_pvec_i:-n/a} candidate=${_pvec_c:-n/a}" echo " lxc-pve : installed=${_lxcp_i:-n/a} candidate=${_lxcp_c:-n/a}"