Lock checkbox: Destroy unreferenced disks owned by guest

gawron737

Member
Oct 3, 2022
19
2
8
Hi

Is there a way to block the checkbox (Destroy unreferenced disks owned by guest). I have problem with cluster because many users don't mark this checkbox and after many users can't create new VM (VM_create error for ID_VM ). The reason of this problem is manualy delete disk from dmsetup.
 
There is currently no way to force check/lock this checkbox.

Another way to approach this problem would be: How do you (or your users) end up with unreferenced disks regularly? IMO it would be smarter to prevent this from occurring in the first place, so then you would not need to force this checkbox marked.