proper VLAN ID (possible passing as variable -var 'vlan_id=0' ).To adjust to your Hyper-V, please check variables below and/or in. New-NetFirewallRule -DisplayName "Packer_http_server " -Direction Inbound -Action Allow -Protocol TCP -LocalPort 8000 - 9000 Adjust Hyper-V settings Remove-NetFirewallRule -DisplayName "Packer_http_server " -Verbose This is a must, if kickstart is reachable over the network. properly constructed virtual switch in Hyper-v allowing virtual machine to get IP from DHCP and contact Hyper-V server on mentioned packer ports.If you need v8.0 - build and use only VHDX. There is no way to reuse higher version in previous operating system. be aware, for 2016 - VMs are in version 8.0, for 2019 - VMs are in version 9.0.Boxes (prebuilt) are already available here: packer = 2.2.19 - for vagrant version of scripts.Why don't you use ansible instead of shell scripts for provisioning.
Packer boots update#
On Windows machines, build break during updates phase, when update cycles are interfering with each other.