StefanScherer / packer-windows

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

Adjusted variables in shell script #318

Closed d7oc closed 1 year ago

d7oc commented 2 years ago

I detected that the iso_url is overwritten in the build shell script. This leads to the fact that the latest Windows 10 version 21H2 which is referenced as default in the .json file is not used when building this way. Maybe this is also the reason why the tag https://app.vagrantup.com/StefanScherer/boxes/windows_10/versions/2021.12.09 doesn't contain 21H2 but an older version even though the 21H2 change was contained in the json file of the tag.

I also removed the autounattend var as this was not available here.