josenk / terraform-provider-esxi

Terraform-provider-esxi plugin
GNU General Public License v3.0
538 stars 154 forks source link

Add support for running ovftool directly on ESXi #187

Open dizzyd opened 1 year ago

dizzyd commented 1 year ago

This PR adds support for invoking ovftool directly on the ESXi host and also enabling ESXi-local hosting of OVA/OVFs. This enables users to keep local copies of images, avoid massive network copies and generally speed up the process of setting up new VMs.

djdanielsson commented 1 year ago

This seems like a really useful option, +1

josenk commented 1 year ago

Installing ovftool on the ESXi host doesn't seem to be a supported solution from vmware website...

djdanielsson commented 4 months ago

no it isn't supported, but really using this at all is unsupported so why not give this as an option at least? But I agree it would be nice to have clear instructions on how to do this if this is going to be an option.

djdanielsson commented 3 months ago

@dizzyd can you write up or link to instructions on how to install the ovftool on ESXi itself?

dizzyd commented 3 months ago

ESXi is just a 64-bit Linux; you can download the ovftool for Linux 64-bit and unpack on the ESXi box (typically via SSH). @djdanielsson and @oussexist