Created
August 8, 2014 18:41
-
-
Save mayask/2039619ea1057aa0d353 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Box | |
config.vm.box = "ferventcoder/win7pro-x64-nocm-lite" | |
config.vm.guest = :windows | |
# Port forward WinRM and RDP | |
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true | |
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true | |
# Port forward HubCom WebApp | |
config.vm.network :forwarded_port, guest: 8000, host: 8000, auto_correct: true | |
# Provisioning | |
config.vm.provision :shell, :path => "provision/env.cmd" | |
config.vm.provision :shell, :path => "provision/download.cmd" | |
config.vm.provision :shell, :path => "provision/thirdparty.cmd" | |
config.vm.provision :shell, :path => "provision/clone.cmd" | |
config.vm.provision :shell, :path => "provision/hutf.cmd" | |
config.vm.provision :shell, :path => "provision/hubcom.cmd" | |
config.vm.provision :shell, :inline => "echo Provision Complete!" | |
# To enable GUI, uncomment following lines; alternatively, use RDP client | |
#config.vm.provider "virtualbox" do |vb| | |
# vb.gui = true | |
#end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment