mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-23 04:37:14 +02:00
core:: skip LXC stack upgrade prompt in unattended mode (#15319)
This commit is contained in:
committed by
GitHub
parent
68bf362a9d
commit
fd1dbf2ba1
@@ -5722,6 +5722,11 @@ create_lxc_container() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
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"
|
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 " 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}"
|
echo " lxc-pve : installed=${_lxcp_i:-n/a} candidate=${_lxcp_c:-n/a}"
|
||||||
|
|||||||
Reference in New Issue
Block a user