packer-community / packer-windows-plugins

A suite of Packer plugins for provisioning Windows machines
113 stars 20 forks source link

Install VMware Tools via VIX API, not WinRM copy #55

Closed colinbowern closed 9 years ago

colinbowern commented 9 years ago

The WinRM copy process is so slow. Does it make more sense to use the VMware VIX API to push the tools in via ISO mount?

mefellows commented 9 years ago

Hi Colin, unfortunately whilst there are plenty of strategies we could employ to speed up uploads / guest additions it complicates our plugin process as each plugin would require a different implementation and therefore maintenance etc.

That being said we would consider pull requests to improve the situation.. :)

dylanmei commented 9 years ago

The copy process is slow. In a pinch, you can edit your template to skip the automatic upload and add a provisioning script that pulls it down via http, for example: https://github.com/dylanmei/packer-windows-templates/blob/master/scripts/vmware-tools.ps1.example

mefellows commented 9 years ago

Ima close this one off - feel free to raise a PR or look at Dylan's suggestion.