Compare commits

...

1 Commits

Author SHA1 Message Date
MickLesk f348700958 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.
2026-06-22 21:39:22 +02:00
+5
View File
@@ -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}"