Build a Windows base image with Packer + Powershell + Hyper-V.
This repo requires the following CLI tool in Powershell.
packer
oscdimg (from `windows-adk`)
If you are using Chocolatey, you can install the above dependencies with:
choco install ./chocolatey.config
If you just start cloning the repo, initialise the packer_cache
:
packer init .
To build the image, run the following in an elevated Powershell:
packer build .
You can build only a specific image by explicitly naming the pipeline:
packer build windows10-enterprise.pkr.hcl