I've published a small set of Bash scripts for Proxmox VE to help automate routine maintenance of LXC containers and host update checks.
The suite currently includes:
- lxc-updater.sh: full auto-updater that scans the PVE host for pending updates (report-only) and then performs unattended package and application upgrades across all running LXC containers, with timeouts, NetBird checks and optional /tmp cleanup.
- pve-update-notifier.sh: lightweight check-only script that reports pending updates on the host and all running LXCs without installing them, ideal for daily status notifications.
- telegram.conf.example: external configuration file template for the Telegram Bot token and chat ID, so secrets never live inside the scripts.
Both scripts send nicely formatted Telegram messages and support basic safety features like root checks, pct presence, container exclusion lists and conservative timeouts.
Code and full documentation are available here:
https://github.com/spupuz/proxmox-scripts
Feedback, suggestions and PRs are very welcome.
The suite currently includes:
- lxc-updater.sh: full auto-updater that scans the PVE host for pending updates (report-only) and then performs unattended package and application upgrades across all running LXC containers, with timeouts, NetBird checks and optional /tmp cleanup.
- pve-update-notifier.sh: lightweight check-only script that reports pending updates on the host and all running LXCs without installing them, ideal for daily status notifications.
- telegram.conf.example: external configuration file template for the Telegram Bot token and chat ID, so secrets never live inside the scripts.
Both scripts send nicely formatted Telegram messages and support basic safety features like root checks, pct presence, container exclusion lists and conservative timeouts.
Code and full documentation are available here:
https://github.com/spupuz/proxmox-scripts
Feedback, suggestions and PRs are very welcome.