-
Notifications
You must be signed in to change notification settings - Fork 913
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
unable to set network when using govc import.ova #460
Comments
Running into the same issue. Would like to abandon ovftool (which has --net) in favor of govc but can't for this reason. |
That would indeed be great to avoid ovftool ! |
+1 has this been fixed? |
+1 has this got any progress? |
Hi all, while it would be nice to have an option to provide a You can provide network mappings in an
And then run this to deploy your ova:
You can also do a whole load of extra config using options but it is not well documented, to gather an example file with all the options for your specific ova you can run (for my ova this gave me my NetworkMapping Name that I used above):
|
Yes, if the networks defined in the OVA are present in the the target DC it should just work now, and -options can provide the mapping for the rest. |
Thanks @egorovv , would be great to capture some examples in the wiki and/or .md in the repo. |
even if i specify "myNetwork" which is DVS portgroup, the VM is getting deployed on "VM Network". |
it is working after changing "Name" to ova's network. Thanks @dougm I didn't read your comment carefully. |
it is working after changing "Name" to ova's network. Thanks @dougm I didn't read your comment carefully. |
I've used the
govc ls
command to work out the correct name of the network / host / cluster.No matter how I do it, I cannot seem to get the import.ova to honour the network selection.
I always get
govc: Host did not have any virtual network defined.
I'd really like it to be able to accept a
-net=blahblah
reference instead of using GOVC_NETWORK=The text was updated successfully, but these errors were encountered: