[SOLVED] Can't change resource pool asigned to a VM via CLI.

daniel17n

New Member
Feb 13, 2026
3
0
1
Hi, I have a 3-node cluster with ceph. I created some resource pools to act as "folders" and restrict what a generic user could see.

I'm trying to build an script that moves VMs from their resource pools to another one called "toBeDeleted" if they haven't changed state for +30 days.

From the GUI it seems simple, but I can't figure out how to do it via CLI so that my script can do it.

Does anyone know if this is even possible or how to work around it?

Thanks!