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

vmware-vmx builder ova import functionality #9228

Closed
orcutt989 opened this issue May 14, 2020 · 9 comments
Closed

vmware-vmx builder ova import functionality #9228

orcutt989 opened this issue May 14, 2020 · 9 comments

Comments

@orcutt989
Copy link

Feature Description

Take an OVA artifact form vmware-iso or from anywhere else and use it to provision a machine with the vmware-vmx builder.

"source_path": "vmx or ova file path"

Use Case(s)

OVA is smaller than VMX format and would take up less space on the datastore. Vcenter/esx both have functionality to import OVA let's extend this to Packer.

@orcutt989 orcutt989 changed the title vmware-vmx ova import functionality vmware-vmx builder ova import functionality May 14, 2020
@azr
Copy link
Contributor

azr commented May 14, 2020

Hello @orcutt989, Packer can do this already and I think https://www.packer.io/docs/builders/virtualbox-ovf.html is what you are looking for.

Don't hesitate to ask the community for help ! Cheers !

@azr azr closed this as completed May 14, 2020
@orcutt989
Copy link
Author

@azr That is for VirtualBox not VMWare...

@azr
Copy link
Contributor

azr commented May 14, 2020

Ah wait ! You asked for vmware !

@azr azr reopened this May 14, 2020
@orcutt989
Copy link
Author

orcutt989 commented May 14, 2020

Thanks for reopening 😄

@azr
Copy link
Contributor

azr commented May 14, 2020

Sorry again, then my answer is a bit different ! I think this is a good idea and I am unsure if we will have time to work on this any soon but it sounds like really nice to have. As usual PRs welcome 🙂 !

@arizvisa
Copy link
Contributor

arizvisa commented Jun 1, 2020

@orcutt989: In the meantime, *.ova files are just tarballs w/ the disks compressed. You can extract the files and then use the vsphere-vmx builder as-is. I'm currently wrapping all of my builds in a Makefile and then using vmware-vmx to modify templates which should be pretty similar to most workflows.

@orcutt989
Copy link
Author

That's a great suggestion. However it would be great if Packer could handle that. Right now I'm just using vmx artifacts and passing those around. Thanks to everyone for the help.

@ghost
Copy link

ghost commented Apr 19, 2021

This issue has been automatically migrated to hashicorp/packer-plugin-vmware#9 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-vmware#9.

@ghost ghost closed this as completed Apr 19, 2021
@ghost
Copy link

ghost commented May 20, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators May 20, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants