Easy update of LCX

adresner

Member
Mar 22, 2023
114
18
23
Hello,

I have 5 LXC running now, maybe more in the future. Is there an interface that I can use to manage them? One click updates?

Thanks!
 
I have 5 LXC running now, maybe more in the future. Is there an interface that I can use to manage them? One click updates?
Nowdays, every Linux distribution offers a mechanism for that and for general automation, there also exist a multitude of software that can automate this for you, e.g. ansible puppet etc.
 
Thank you, however being new to this I might need a little more guidance, looking for a guide or some examples that I can build knowledge on. Cheers
 
Thank you, however being new to this I might need a little more guidance, looking for a guide or some examples that I can build knowledge on. Cheers
Guest OS updates are not part of Proxmox VE, so you might find what you want in the guide of your guest OS.
 
If the VMs are Ubuntu or debian, for example, then there is the unattended-upgrades module, which has a configuration file at /etc/apt/apt.conf.d/50unattended-upgrades
https://wiki.debian.org/UnattendedUpgrades

But yes, as LnxBil says, it will be a per-distro thing. You could always write something (a simple bash script) which refreshes the package repository, and downloads the upgrades automatically via a cron job; although, I'd recommend downloading in advance, but actually applying them manually. Sometimes, like in Debian/Ubuntu and derivatives, you can just run the security updates automatically, which is probably the safest thing to do. Then, you can run the other updates manually when needed and review config file changes [that which will bork a system] etc.