-
-
Notifications
You must be signed in to change notification settings - Fork 241
Cron-Update-LXCSΒ #1628
Copy link
Copy link
Closed
Labels
Description
Name of the Script
cron-update-lxcs
Script Type
PVE Tool (tools/pve)
π Script Details
cron-update-lxc.sh:
- Script is now downloaded once and installed locally as /usr/local/bin/update-lxcs.sh β cron runs the local copy, no remote code execution at runtime
- SHA256 hash shown before install; optional script content review step added
- New Update menu option: shows diff against current version, prompts before applying
- Legacy curl-based cron entries are auto-migrated on install
- Config file /etc/update-lxcs.conf created on first install with inline docs
- Remove also cleans up the local script file; config is intentionally kept
update-lxcs-cron.sh:
- Exclusions merged from both CLI args and /etc/update-lxcs.conf
- Template containers are properly skipped (was broken: always evaluated to false)
- pct shutdown now uses --timeout 60 instead of unbounded & background wait
- Error handling: update failures are caught and logged per container instead of silently ignored
- Unknown OS types now print a warning instead of silently skipping
Reactions are currently unavailable