Easy update of LCX

adresner

Member
Mar 22, 2023
106
17
18
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!