Created
June 17, 2015 01:20
-
-
Save MattHodge/4df62673b575e546b9ff to your computer and use it in GitHub Desktop.
Vagrant PowerShell Provision
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/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "mwrock/Windows2012R2" | |
config.vm.guest = :windows | |
config.vm.communicator = "winrm" | |
config.vm.provider "virtualbox" do |v| | |
v.gui = true | |
v.cpus = 4 | |
v.memory = 4096 | |
end | |
config.winrm.timeout = 500 | |
config.vm.network :forwarded_port, guest: 3389, host: 13389 | |
config.vm.network :forwarded_port, guest: 5985, host: 15985 | |
config.vm.network :forwarded_port, guest: 5986, host: 15986 | |
config.vm.synced_folder '.', '/vagrant', disabled: true | |
config.vm.provision "shell", path: "vagrant_prepare.ps1" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment