Hi all,
I made an Update Script, with it you can update all LXC Containers within an Host or within your hole Cluster.
https://github.com/BassT23/Proxmox
The Script will run headless, so you can run it with a cron job or similar, if you want.
If the script detect a Cluster, it automatically run in "Cluster Mode". Otherwise it run the "Host Mode"
You also can run the "Host Mode" in your Cluster with "update -1". For more info type "update -h"
In later version, there will come an option, to run extra commands for specific Containers, like a pihole need update with "pihole -up".
The hole Update will be logged, so you can check, if there are any errors.
Also the is an exit code implemented, with this it is possible, to inform you about errors during the update.
If anybody want to help, to make the script better, you're welcome.
CU @ll
BassT
I made an Update Script, with it you can update all LXC Containers within an Host or within your hole Cluster.
https://github.com/BassT23/Proxmox
The Script will run headless, so you can run it with a cron job or similar, if you want.
If the script detect a Cluster, it automatically run in "Cluster Mode". Otherwise it run the "Host Mode"
You also can run the "Host Mode" in your Cluster with "update -1". For more info type "update -h"
In later version, there will come an option, to run extra commands for specific Containers, like a pihole need update with "pihole -up".
The hole Update will be logged, so you can check, if there are any errors.
Also the is an exit code implemented, with this it is possible, to inform you about errors during the update.
If anybody want to help, to make the script better, you're welcome.
CU @ll
BassT
Last edited: