A Packer template that simplifies the creation of minimally-sized Windows Vagrant boxes.
You need the following to run the template:
- Packer installed with a minimum version of 0.8.6.
- VirtualBox
Invoke packer
to run the template like this:
packer build -force -only virtualbox-iso .\vbox-2012r2.json
This repo includes PowerShell scripts that can create a Hyper-V Vagrant box from the output VirtualBox .vmdk file. This repo leverages psake and Chocolatey to ensure that all prerequisites are installed and then runs the above packer
command followed by the scripts needed to produce a Vagrant .box file that can create a Hyper-V file.