<div dir="ltr"><div>Hi,<br><br></div>While creating VM from Template via Web Admin portal, the default provisioning is Clone. But while doing the same via API its is doing Thin provisioning. Can someone share there view.<br clear="all">
<div><div><div><br><br>  org.ovirt.engine.sdk.entities.Template templateData = new Template();<br>          templateData.setName(templateName);<br>          org.ovirt.engine.sdk.entities.Cluster clusterData = new Cluster();<br>
          clusterData.setName(clusterName);<br>          org.ovirt.engine.sdk.entities.VM vmDataForCreate = new VM();<br>          vmDataForCreate.setName(vmName);<br>          vmDataForCreate.setCluster(clusterData);<br>
          vmDataForCreate.setTemplate(templateData);<br>         api.getVMs().add(vmDataForCreate);<br><br>-- <br><div>Thanks &amp; Regards</div>
<div>Tejesh</div>
</div></div></div></div>