joefitzgerald / packer-windows

Windows Packer Templates
MIT License
1.63k stars 1.12k forks source link

Various fixes and allow building on Linux machines with qemu as an alternative to virtualbox/vmware #221

Closed jim-minter closed 5 years ago

jim-minter commented 7 years ago

1- update rsync version, old one no longer available at mirrors.kernel.org 2- use /image/index in Autounattend.xml so not reliant on precise image name: this is useful when not using identical install media locally (e.g. "Windows 7 Enterprise N" rather than "Windows 7 ENTERPRISE", etc.) 3- use netsh advfirewall command to set up firewall for winrm - this ensures the winrm service is available in all firewall profiles. This is important if vagrant up provides an interface with a different mac address at image runtime compared to packer build time, as happens with vagrant-libvirt 4- allow building on Linux machines with qemu as an alternative to virtualbox/vmware

lfarnell commented 7 years ago

@jim-minter @StefanScherer Are there any blockers on this PR? I would love to see this PR merged.

jim-minter commented 7 years ago

I made a minor change just now to make the config.vm.provider :libvirt sections stylistically more in keeping with their peers. I've stopped using packer-windows for now, but when I was using it, this PR worked fine for me.

StefanScherer commented 6 years ago

It would be much easier to review and eventually merge if there are single PR's for each topic. Updating tool versions eg. is a low hanging fruit.