All,
I am using ovftool to import ovf directly to ESX host using following command:
/usr/bin/ovftool --machineOutput <ovf-file> vi://user:pass@ip
It creates the vmx on ESX under the datastore path. But I want vmx files to be created under some directory in Datastore path. How? as ovftool says:
"When connected directly to an ESX host, <searchTerm> must be left empty"
e.g /usr/bin/ovftool --machineOutput <ovf-file> vi://user:pass@ip/<some-dir>
However the above command give me some syntax error.
Looks very trivial problem, But I could not found any solution yet.
Any comments/suggestion????
Thanks
-tej