packer-plugin-vmware icon indicating copy to clipboard operation
packer-plugin-vmware copied to clipboard

Add support to attach VMware Tools ISO for installation

Open Stromweld opened this issue 10 months ago • 2 comments

Description

Instead of vmware guest tools upload allow for vmware guest tools to be attached to vm as a cdrom drive. This would speed up builds tremendously esspecially for windows systems as upload takes a long time. This also saves disk space and doesn't require scripts to manually remove the iso file from the system after guest tools install. This also mimicks behavior similar to every other provider as well.

Use Case(s)

All vmware build images

Stromweld avatar Mar 09 '25 03:03 Stromweld

I've updated the issue title to reflect this as an option vs an "instead of"; otherwise it would be a breaking change. The option can then mirror the use as seen in packer-plugin-vsphere.

Self-assigned for review after the driver consolidation.

Timeframe would be when support for ESX and Player are removed from the plugin in v2.

Ryan Johnson, Broadcom

tenthirtyam avatar Mar 09 '25 23:03 tenthirtyam

Thanks

Stromweld avatar Mar 10 '25 00:03 Stromweld

I've written the enhancement for the v2.0.0 release and will open a pull request for peer review once all e2e tests are satisfactory.

tenthirtyam avatar Sep 08 '25 03:09 tenthirtyam

Pull request https://github.com/hashicorp/packer-plugin-vmware/pull/386 has been submitted in draft for team review.

tenthirtyam avatar Sep 17 '25 00:09 tenthirtyam