How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "jborean93/WindowsServer2012R2"
  config.vm.box_version = "0.3.0"
end
vagrant init jborean93/WindowsServer2012R2 \
  --box-version 0.3.0
vagrant up

This version was created about 3 years ago.

Packer Windoze - jborean93/WindowsServer2012R2

Info

This is an image based on the evaluation ISO supplied by Microsoft. It has all the updates available for the host at the time applied and comes ready to be run by Vagrant. When Vagrant starts the box, sysprep will automatically run and create a brand new Windows instance with WinRM up and running.

Details on how to connect are;

  • username: vagrant
  • password: vagrant
  • connector: winrm

Included programs (versions dependent on the Windows version);

Other configurations from the standard image;

  • WinRM HTTP and HTTPS listener with Basic and CredSSP enabled
  • Win32-OpenSSH v7.6.1.0p1-Beta
  • Default Administrator account disabled, password is also vagrant
  • Hidden files and folders and file extensions are shown by default

Changes

v0.3.0 - 2018-05-09

  • Updated OpenSSH version to v7.6.1.0p1-Beta
  • Set the builtin vagrant account password to never expire
  • Stop using the Ansible ConfigureRemotingForAnsible.ps1 script, swap over to custom script to support SHA256 and simplify steps
  • Added Hyper-V builder support by specifying -e opt_packer_setup_builder=hyperv - This will only run on a Windows with WSL host and doesn't work for Server 2008

v0.2.0 - 2017-12-01

  • Create a custom Vagrantfile template for the final image that includes the username and other required settings
  • Moved sysprep process before the image is created
  • Added slmgr.vbs /rearm to run just after Vagrant starts the image to get the full evaluation period possible
  • Removed SSL certificates that were created during the packer build process
  • Installed Win32-OpenSSH v0.0.23.0 on all images eacept Server 2008
  • Added .travis-ci file to run ansible-lint on the Ansible files for some testing sanity
  • Decided to install the VirtualBox guest additions tools as part fo the build process
  • Added vim to the list of chocolatey packages to help with Core OS installs or connecting via SSH

v0.0.1 - 2017-10-29

  • First images built by this process
2 providers for this version.
  • hyperv Hosted by Vagrant Cloud (3.74 GB)

  • virtualbox Hosted by Vagrant Cloud (4.29 GB)