Commit 262315d5 authored by Joe Fitzgerald's avatar Joe Fitzgerald
Browse files

Updating Vagrantfile Template

parent 7749080a
...@@ -6,6 +6,10 @@ Vagrant.configure("2") do |config| ...@@ -6,6 +6,10 @@ Vagrant.configure("2") do |config|
config.vm.box = "windows2008r2" config.vm.box = "windows2008r2"
# You should be using the vagrant-windows Vagrant Plugin! # You should be using the vagrant-windows Vagrant Plugin!
# Admin user name and password
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
config.vm.guest = :windows config.vm.guest = :windows
config.windows.halt_timeout = 15 config.windows.halt_timeout = 15
...@@ -13,8 +17,11 @@ Vagrant.configure("2") do |config| ...@@ -13,8 +17,11 @@ Vagrant.configure("2") do |config|
config.vm.network :forwarded_port, guest: 3389, host: 3389 config.vm.network :forwarded_port, guest: 3389, host: 3389
config.vm.network :forwarded_port, guest: 5985, host: 5985 config.vm.network :forwarded_port, guest: 5985, host: 5985
# Berkshelf
# config.berkshelf.enabled = true
# Shell - Hello World # Shell - Hello World
# config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat" config.vm.provision :shell, :inline => "C:\\vagrant\\scripts\\HelloWorld.bat"
config.vm.provider :virtualbox do |v, override| config.vm.provider :virtualbox do |v, override|
end end
...@@ -34,5 +41,4 @@ Vagrant.configure("2") do |config| ...@@ -34,5 +41,4 @@ Vagrant.configure("2") do |config|
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
end end
end end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment