robertmircea / packer-collections

A collection of Packer templates for setting up development machines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

======= packer-collections

A collection of packer scripts for setting up development machines

#.NET Development VM Packer Templates

This is a set of packer scripts to build a .NET development environment that can be used with Vagrant or other provisioners. It will do (broadly speaking):

  • Install Windows
  • Install Visual Studio 2013 Ultimate
  • Install Resharper
  • Install the Hide Main Menu plugin for Visual Studio
  • Install Source Code Pro fonts
  • Import some sensible defaults into Visual Studio (based on the IntelliJ keybindings)
  • Install ConEmu
  • Install Git for Windows
  • Install a sensible theme for ConEmu
  • Install all the Windows updates
  • Install Google Chrome Enterprise
  • Install Notepad2 editor and integrate it into Windows (right-menu)
  • Package this all up for Vagrant, with a template Vagrant file that enables the GUI, and registers Resharper when you do vagrant up based on a .reg export of the relevant part of the tree stored in the the RESHARPER_LICENSE_REGKEY environment variable, and configures git with your username and email address.

It builds from ISOs and downloaded images rather than using package managers - this is because I keep them on an external hard disk for when I travel and only have crappy hotel or conference internet. See below for the required source files and where you can get them from.

You likely want to be using Vagrant 1.6 or higher - since this now supports Windows natively.

Acknowledgements

Most of the Windows installation process and the packer template were borrowed from here: https://github.com/joefitzgerald/packer-windows and https://github.com/jen20/packer-windows-netdev.

Required ISOs and Sources

  • en_windows_8.1_professional_vl_with_update_x64_dvd_4065194.iso - MSDN
  • en_visual_studio_professional_2013_with_update_2_x86_dvd_4238045.iso - MSDN
  • HideMenu.vsix - Included in repository (it's tiny)
  • ReSharperSetup.8.2.0.2160.msi - http://download.jetbrains.com/resharper/ReSharperSetup.8.2.0.2160.msi
  • SourceCodePro_FontsOnly-1.017.zip - Included in repository (again, tiny)
  • ConEmuSetup.140602.exe - http://www.fosshub.com/download/ConEmuSetup.140602.exe
  • Git-1.9.4-preview20140611.exe - https://github.com/msysgit/msysgit/releases/download/Git-1.9.2-preview20140411/Git-1.9.2-preview20140411.exe
  • Notepad2_4.2.25_x64.exe - http://www.flos-freeware.ch/zip/Notepad2_4.2.25_x64.exe
  • Google Chrome Enterprise - https://dl.google.com/edgedl/chrome/install/GoogleChromeStandaloneEnterprise.msi

Additional bits that work if they're configured

  • If user.name and user.email are set locally, they'll be provisioned on Windows as part of the Vagrant provisioning (not the packing, so they'll be per user).

  • If there is a RESHARPER_LICENSE_REGKEY environment variable set pointing to a registry export of the Resharper license key, it will be imported as part of Vagrant provisioning.

About

A collection of Packer templates for setting up development machines

License:MIT License


Languages

Language:PowerShell 74.3%Language:Shell 25.7%