Greetings friends,
I have installed ovftool on a Linux machine with SLES 11 SP1 x86_64
I am currently experimenting on how to use ovftool, as i'm a total newbie considering it's use.
I currently have a vCenter Server 4.1, with IP 10.20.30.40. There i have the following structure:
10.20.30.40
MyDataCenter
Cluster1
Cluster2
MyVM
The datastore where the vmx is located is named NAS1
I want to convert this virtual machine to .ovf. But for starters, i would like to probe it. I'm using ovftool 2.1.0 and the user's guide says that the VMX type is supported. I thought to use vSphere Locator with Datastore (ds) query type. So, i execute the following:
ovftool vi://10.20.30.40/MyDataCenter?ds=[NAS1] MyVM/MyVM.vmx
After i'm asked for credentials, i get the following:
Please enter login information for source vi://10.20.30.40/
Username: xxxxxxx
Password: *************
Error: Curl error: Couldn't resolve host name
Completed with errors
Have you seen that before? Am i doing something wrong with the syntax? Or in general, am i using ovftool the wrong way?
Thank you for your help!
Peter