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
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