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

Support for single ESXi #58

Open
derchrisuk opened this issue Nov 17, 2015 · 2 comments
Open

Support for single ESXi #58

derchrisuk opened this issue Nov 17, 2015 · 2 comments

Comments

@derchrisuk
Copy link

I'm currently trying to connect to a single ESXi server.
Some of the commands I'm able to get to work, like list.
But looking at the clone, it requires cluster and datacenter info, which do no exist in a single ESXi
Is there a simple way to include this?

@derchrisuk
Copy link
Author

I got a little bit further.
The problem is, single ESXi does not support clone.
So it is not that easy to implement.
Maybe there are functions available in the pyvmomi which could be used for this.

@derchrisuk
Copy link
Author

The only way I could get it to work is by importing a OVF into the ESXi.
At the moment it is working, apart from the customization.
When I try to run a Customize() with the same customspec on the deployed OVF, I get an error:
The operation is not supported on the object.
Looks like that this is also not supported like Clone()
So I'm looking at a script to do the changes.
The only problem I have with this is when do I know that the OS is fully up for me to upload the file and execute it?
In my workflow so far I was checking for the IP to come online, then do other actions.
But there is no IP on the deployed OVF yet.
Would checking for a running vmwareTool be enough in this case?

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

No branches or pull requests

1 participant