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 #9

Open
ghost opened this issue Apr 19, 2021 · 6 comments
Open

vmware-vmx: builder ova import functionality #9

ghost opened this issue Apr 19, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 19, 2021

This issue was originally opened by @orcutt989 as hashicorp/packer#9228. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


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.

@aru-vmw
Copy link

aru-vmw commented Apr 27, 2021

this needs an vmware-ovf builder or vsphere-ovf builder.
vmx is an existing virtual machine.
ovf is a VM template, ova is zipped ovf.
it needs ovftool to import or export ovf from an existing virtual machine.

@puetzk
Copy link
Contributor

puetzk commented Jun 11, 2021

It certainly could be a separate builder, but FWIW,the vmware-vmx builder already supports ([format="ova"] and [format="ovf"])(https://www.packer.io/docs/builders/vmware/vmx#format) by calling ovftool to do the export export. It just doesn't have any similar support for recognizing that source_path is a .ova/.ovf and doing the same on import.

So while I'm certainly not an expert on the implementationhere, I don't see any reason it would have to be a separate builder; it seems to me that it would fit the kind of things that vmware-vmx already does with ovftool.

@tenthirtyam tenthirtyam changed the title vmware-vmx builder ova import functionality vmware-vmx: builder ova import functionality Aug 22, 2023
@tenthirtyam tenthirtyam closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
@iamjackg
Copy link

I see this was closed as "not planned." Will we never see support for importing OVAs?

@Stromweld
Copy link
Contributor

I would love to see this as well. It's apart of virtualbox plugin so should be able to copy code and do it for vmware https://developer.hashicorp.com/packer/integrations/hashicorp/virtualbox/latest/components/builder/ovf

@tenthirtyam tenthirtyam self-assigned this Mar 13, 2024
@tenthirtyam tenthirtyam reopened this Mar 13, 2024
@tenthirtyam
Copy link
Collaborator

More 👍 are needed on the issue origination.

@tenthirtyam tenthirtyam added this to the Backlog milestone May 24, 2024
@tenthirtyam
Copy link
Collaborator

tenthirtyam commented Sep 26, 2024

Question is if this is needed or desktop hypervisors or ESXi. If ESXi, this should be deferred to thr vSphere plugin as support for ESXi in this plugin is deprecated as of v1.1.0 and will be removed in a future release as noted in the README and the v1.1.0 release.

@tenthirtyam tenthirtyam removed their assignment Nov 14, 2024
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