# Copy this file to .env (same directory) and fill in your local values. # `.env` itself is gitignored. Load it before running `packer build` with: # # . .\load-env.ps1 # # All recognized variables map to Packer inputs via the PKR_VAR_ # convention, so every name below is also a valid -var flag. # Required. Absolute path to the Windows 11 installer ISO on this host. PKR_VAR_iso_path=C:/path/to/Win11_25H2_English_x64_v2.iso # Optional. SHA-256 of the ISO. Compute with: # Get-FileHash -Algorithm SHA256 # Leave as "none" to skip validation (not recommended for shared boxes). PKR_VAR_iso_checksum=none # Optional overrides. Defaults are in windows-11.pkr.hcl. The build VM is # throwaway and intentionally claims most of the host (24 vCPU, 32 GB RAM); # the runtime integration VM uses a smaller footprint set in # test/integration/Vagrantfile. # PKR_VAR_cpus=24 # PKR_VAR_memory=32768 # PKR_VAR_disk_size=81920 # PKR_VAR_switch_name=Default Switch # PKR_VAR_vm_name=bootstrap-win11 # PKR_VAR_box_output=bootstrap-win11.box