On Fri, Sep 25, 2015 at 08:23:04AM -0700, angystardust wrote:
Hi Richard,
i'm glad to see the suggestion i gave to the RH support in the official documentation! :smile:
You can also point to a vCenter by using this syntax:
`ovftool --noSSLVerify vi://[USER]:[PASSWORD]@[VCENTER-HOST]/[DATACENTER-NAME]/vm/[VM-NAME] /path/to/file.ova`
For an Active Directory-aware authentication, you have to express the @ character in the form of its ascii hex-code (that's to say %5C): `ovftool --noSSLVerify vi://[DOMAIN]%5C[USER]:[PASSWORD]@[VCENTER-HOST]/[DATACENTER-NAME]/vm/[VM-NAME] /path/to/file.ova`
For ex.: `ovftool --noSSLVerify vi://EXAMPLE%5Cuser:password@vcenter.example.local/DATACENTER/vm/V2V-RHEL5 /mnt/export/V2V-RHEL5.ova`
Hope this helps other people to save time instead of spending it on Google. Thanks for your hard work and keep on rockin'.
Thanks - I will update the documentation further. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW