Manage/update multiple Linux VMs

boostdb

New Member
May 6, 2021
2
0
1
45
Hi,

I am new to Proxmox and Linux and currently running it for homelab. I have 5-6 Ubuntu VMs and 3-4 Windows VMs.
Is there a feature in Proxmox or 3rd party tool that can manage/update (apt update/upgrade) for all Linux Vms at once rather for me doing it one by one?

Appriciate any recommendation.

Thanks!
 
hi,

you could take a look at ansible [0] which would allow you to manage hosts via ssh.

if you want to use proxmox features instead, for containers you can use pct exec <CTID> <command> to run a command inside containers. for VMs you could use qemu guest agent [1] inside the guest and use the qm guest exec <VMID> <command> to run a command in a VM.

you could also have a cron script inside the VM running upgrades, or configure unattended-upgrades

so there are a lot of ways to do this, i suggest you do some research and find the best option for your use case

[0]: https://www.ansible.com/
[1]: https://pve.proxmox.com/wiki/Qemu-guest-agent
 

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!