I have the need to clone an encrypted machine via the vmrun utility, actually testing using the Gitlab-fusion github project.
The command I am running:
vmrun -vp password -T fusion clone devtest1/devtest1.vmx devtest2/devtest2.vmx linked -snapshot test -clonename=clonetest2
vmrun -vp password -T fusion clone devtest1/devtest1.vmx devtest2/devtest2.vmx full -clonename=clonetest2
However I get the following error message for each of the commands:
"Error: Cannot read the virtual machine configuration file."
I am able to create the snapshot using vmrun, but I am not able to clone the VM. Does anyone have any suggestions on how to get around this error? I am able to clone the VM via the MacOS Fusion GUI and the new VM shows up as encrypted also.
Does anyone know if I can do this via the vmrest API?
Thanks in advance