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

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!