Multiselect remove from Pool

tsumaru720

Well-Known Member
May 1, 2016
66
2
48
44
Hi Guys

When adding resources to a pool, you click the add button and a box comes up where you can multi-select VMs to add which is great.

When removing, you have to do them one by one which is quite cumbersome if you need to remove a large number of VMs - Is there any chance you can do a multi-select like there is for "add"?

Thanks
Simon
 
On the node where the VM's are to be removed you can use pvesh. eg pvesh get /nodes/{node}/qemu | grep vmid | awk '{print $3}' will give you a list of vmid's on the specific node.
for each vmid
do
pvesh delete /nodes/{node}/qemu/{vmid}
done
 

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!