StefanScherer / packer-windows

Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
MIT License
1.29k stars 434 forks source link

Packer Fails when Running `choco install` in a Provisioner #186

Closed shogerr closed 5 years ago

shogerr commented 5 years ago

Chocolatey does not currently work with Packer as of version 1.4.0 when used with a provisioner. All provisioners that adopt chocolatey will fail.

This issue is summed up here: https://superuser.com/questions/1429185/choco-install-within-packer

Resolution This has been fixed in an upcoming build of Packer: https://github.com/hashicorp/packer/pull/7579