This repository contains configuration files that can be used to create Windows boxes with preconfigured applications for Vagrant using Packer (Website) (Github).
This repo utilizes the packer-windows templates. The packer configuiration files are based off existing configuration files form packer-windows with the addition of scripts to install software.
These scripts are used to generate the box images on Atlas.
Git-Scm
Virtualbox
Vagrant
Packer 0.5.1
or greater is required.
The configurations currently support building the image locally on your machine and uploading them to Hashicorp Atlas. I am not able to use packer push
due to the size of the working files when generating the image (I think). If you find out a way to do this, please contribute back to this repository.
I have only tested on Virtualbox so far:
packer build -only=virtualbox-iso win-2012r2-standard-vs2015community.json
If you would like to test out the generated image, import the file into Vagrant:
vagrant box add win-2012r2-standard-vs2015community ./win-2012r2-standard-vs2015community_virtualbox.box
Out side this repository, create a new folder and instantiate the newly imported VM.
mkdir testimage; cd testimage
vagrant init win-2012r2-standard-vs2015community; vagrant up --provider virtualbox
vagrant rdp