check_updates
Checks pending package updates, security flags, held packages, Proxmox locks, and reboot state for running VMs and containers before applying updates.
Instructions
Refresh package lists and report pending updates and reboot state. Each package has 'official' (from the distribution archives) and 'security' flags. Updates from third-party repositories are listed in 'third_party_report_only': apply_updates never installs them; report them to the user, especially major version jumps. 'held' = apt-mark hold, also skipped. auto_updates=true means the guest also installs updates by itself every day (unattended-upgrades) without a pvewarden snapshot; mention it to the user, it explains updates nobody asked for. 'lock' is a Proxmox lock on the guest (e.g. 'backup'): updates, snapshots and reboots wait until it is gone. backup_running=true: a Proxmox backup runs on that node now, updates would be much slower; suggest waiting until it is done. Without vmids, checks every running guest. Read-only: use it to see what is pending, apply_updates to install. Returns {guests: [...], pvewarden: {...}}. 'pvewarden' is about pvewarden itself: if it has 'new_version', tell the user that a newer pvewarden is out and how to upgrade ('upgrade'); security_fix=true means the newer release fixes a security problem: say so first. You cannot upgrade pvewarden yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vmids | No | Proxmox VMIDs to check, e.g. [101, 102]; omit for all running guests. |