Command to clone a disk from an esxi VM from command line.
Make sure the VM is shut down.
Then you can just:
cd /vmfs/volumes/Datastore
mkdir NEW_VM
cd SOURCE_VM
vmkfstools -i source.vmdk ../NEW_VM/new_vm.vmdk
Command to clone a disk from an esxi VM from command line.
Make sure the VM is shut down.
Then you can just:
cd /vmfs/volumes/Datastore
mkdir NEW_VM
cd SOURCE_VM
vmkfstools -i source.vmdk ../NEW_VM/new_vm.vmdk