Is there a way to add metadata to "tag"/"group" VMs and CTs ?

pawlakm

New Member
May 24, 2022
7
4
3
Hello,

I'm using nut to stop/restart VMs and CTs on Proxmox based on a timer. Everything's working fine, but each time I add a VM or CT I have to modify my script manually to add the new VM/CT id.

I'm looking for a way to tag or group the different VMs and CTs to be able to achieve something like "after 5 minutes shutdown every VM and CT part of group1 / tagged with "group1". This would allow me to retrieve all matching IDs and loop over it instead of having to list manually all VMs/CTs of "group1".

Is there a way to achieve this ?

Thank you in advance,

Michel
 
Great thank you! I'll set it , then retrieve the ids using `qm list` then `qm config <id>` to look for the tag.