Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import ova #12

Closed
koola opened this issue Feb 2, 2014 · 5 comments
Closed

Import ova #12

koola opened this issue Feb 2, 2014 · 5 comments

Comments

@koola
Copy link

koola commented Feb 2, 2014

Request an example script on how to import an ova into vsphere cluster host.

@pmitoraj
Copy link

pmitoraj commented Apr 6, 2014

As far as I know you cannot directly import OVA files. When you untar ova file, you will find ovf file there. This one can be used with API. Here is an example in ruby:
https://github.com/vmware/rbvmomi/blob/master/lib/rbvmomi/vim/OvfManager.rb
I have not found anything similar for python so probably you would need to port it on your own. With ruby version I had some issues because it did not set the network properly for the virtual machine.

@kalazzerx
Copy link

you can use the ovatool (CLI) to import OVA's to server. Not a direct python way but better than nothing and tool runs on linux.

@hartsock
Copy link
Member

hartsock commented Jun 4, 2014

Created a sample request based on this. We may have an additional support issue but I'll cover that in pyvmomi-tools or open a separate bug 'OvfManager unsupported' or something like that.

@hartsock hartsock closed this as completed Jun 4, 2014
@mygoda
Copy link

mygoda commented Nov 30, 2015

sorry ,i have a problem ,when i get device_url, want to download device vmdk use requests, that i can not download.

@DanyC97
Copy link

DanyC97 commented Jul 24, 2017

This is a duplicate of #532 which i believe can be closed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants