How can I clone a VM to a template from Linux CLI. I tried using VMware vSphere CLI (vCLI) in vain, couldn't find an option to do so.
Asked
Active
Viewed 207 times
0
-
Have a look at vmkfstools. – fpmurphy Mar 11 '16 at 08:26
-
@fpmurphy1 I believe I have to ssh to the ESXi box for that. My goal is to use some API or tool to do it from my Linux VM. Basically, I am trying to do what this [code](https://github.com/Banno/packer-post-processor-vsphere-ova) does using scripts. I have used ovftool to upload the VM to the vCenter. Now, I am looking to clone it to a template. – vikas027 Mar 11 '16 at 12:50