[SOLVED] realize that if a template has a linked clone

kaltsi

Active Member
Mar 22, 2013
71
11
28
http://goo.gl/maps/d9tFg
Hi,

I use API interface to manage the VMs. I working with lot of template and I use linked clone. But sometims I need remove the old templates.
Is there a command that can show me if the template has a linked cloned VM?

Yes I know I can find it in the disk configuration, but the system has about 500 VMs. And looking for the id in configuration of VMs is very slow.
 
You can simple list the storage content /nodes/<node>/storage/<storage_name>/content. The volid property contains enough information ...