Reference impl: https://github.com/luciusbono/Packer-Windows10
Find Windows trial product keys here: https://technet.microsoft.com/en-us/library/jj612867.aspx?f=255&MSPPError=-2147217396
Install packer and vagrant. On OSX:
brew cask install packer
brew install vagrant
You need to find a Win10_Pro .iso
file. It goes in iso/Win10_1607_English_x64.iso
.
If you change the path or filename, the change must be reflected in packer/win_10.json
.
TODO:
Automate correct .iso download, I think Packer supports this.
Note, this takes multiple hours.
cd packer
packer build win_10.json
vagrant up
rm -rf packer/output-virtualbox-iso
vagrant reload
RDP is enabled, it's a better experience to use Microsoft Remote Desktop. IP is set to 10.10.10.10
in Vagrantfile
.
If you'd rather use the VirtualBox UI, change the vb.gui
value in Vagrantfile
.
Vagrant's default synced folder is set up. In the guest, C:\vagrant
is synced to this directory.