Commit f06e0a29 authored by Blair Hamilton's avatar Blair Hamilton
Browse files

Updating for Vagrant 1.6.0

Removed the requirement for the vagrant-windows plugin
added the port forwarding for rdp
disabling the GUI Message for virtualbox
gave vmmare 2 cpu’s to match virtualbox
parent a85c44a4
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.require_version ">= 1.6.0"
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-2008-r2" config.vm.define "vagrant-windows-2008-r2"
config.vm.box = "windows_2008_r2" config.vm.box = "windows_2008_r2"
config.vm.communicator = "winrm"
# Admin user name and password # Admin user name and password
config.winrm.username = "vagrant" config.winrm.username = "vagrant"
...@@ -13,11 +16,13 @@ Vagrant.configure("2") do |config| ...@@ -13,11 +16,13 @@ Vagrant.configure("2") do |config|
config.windows.halt_timeout = 15 config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.provider :virtualbox do |v, override| config.vm.provider :virtualbox do |v, override|
#v.gui = true #v.gui = true
v.customize ["modifyvm", :id, "--memory", 2048] v.customize ["modifyvm", :id, "--memory", 2048]
v.customize ["modifyvm", :id, "--cpus", 2] v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end end
config.vm.provider :vmware_fusion do |v, override| config.vm.provider :vmware_fusion do |v, override|
...@@ -39,4 +44,4 @@ Vagrant.configure("2") do |config| ...@@ -39,4 +44,4 @@ Vagrant.configure("2") do |config|
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
v.vmx["scsi0.virtualDev"] = "lsisas1068" v.vmx["scsi0.virtualDev"] = "lsisas1068"
end end
end end
\ No newline at end of file
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.require_version ">= 1.6.0"
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-2012" config.vm.define "vagrant-windows-2012"
config.vm.box = "windows_2012" config.vm.box = "windows_2012"
config.vm.communicator = "winrm"
if !Vagrant.has_plugin?('vagrant-windows')
puts "vagrant-windows missing, please install the vagrant-windows plugin!"
puts "Run this command in your terminal:"
puts "vagrant plugin install vagrant-windows"
exit 1
end
# Admin user name and password # Admin user name and password
config.winrm.username = "vagrant" config.winrm.username = "vagrant"
...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config| ...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config|
config.windows.halt_timeout = 15 config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.provider :virtualbox do |v, override| config.vm.provider :virtualbox do |v, override|
#v.gui = true #v.gui = true
v.customize ["modifyvm", :id, "--memory", 2048] v.customize ["modifyvm", :id, "--memory", 2048]
v.customize ["modifyvm", :id, "--cpus", 2] v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end end
config.vm.provider :vmware_fusion do |v, override| config.vm.provider :vmware_fusion do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config| ...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config|
config.vm.provider :vmware_workstation do |v, override| config.vm.provider :vmware_workstation do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
......
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.require_version ">= 1.6.0"
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-2012-r2" config.vm.define "vagrant-windows-2012-r2"
config.vm.box = "windows_2012_r2" config.vm.box = "windows_2012_r2"
config.vm.communicator = "winrm"
if !Vagrant.has_plugin?('vagrant-windows')
puts "vagrant-windows missing, please install the vagrant-windows plugin!"
puts "Run this command in your terminal:"
puts "vagrant plugin install vagrant-windows"
exit 1
end
# Admin user name and password # Admin user name and password
config.winrm.username = "vagrant" config.winrm.username = "vagrant"
...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config| ...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config|
config.windows.halt_timeout = 15 config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.provider :virtualbox do |v, override| config.vm.provider :virtualbox do |v, override|
#v.gui = true #v.gui = true
v.customize ["modifyvm", :id, "--memory", 2048] v.customize ["modifyvm", :id, "--memory", 2048]
v.customize ["modifyvm", :id, "--cpus", 2] v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end end
config.vm.provider :vmware_fusion do |v, override| config.vm.provider :vmware_fusion do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config| ...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config|
config.vm.provider :vmware_workstation do |v, override| config.vm.provider :vmware_workstation do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
......
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.require_version ">= 1.6.0"
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-7" config.vm.define "vagrant-windows-7"
config.vm.box = "windows_7" config.vm.box = "windows_7"
config.vm.communicator = "winrm"
if !Vagrant.has_plugin?('vagrant-windows')
puts "vagrant-windows missing, please install the vagrant-windows plugin!"
puts "Run this command in your terminal:"
puts "vagrant plugin install vagrant-windows"
exit 1
end
# Admin user name and password # Admin user name and password
config.winrm.username = "vagrant" config.winrm.username = "vagrant"
...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config| ...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config|
config.windows.halt_timeout = 15 config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.provider :virtualbox do |v, override| config.vm.provider :virtualbox do |v, override|
#v.gui = true #v.gui = true
v.customize ["modifyvm", :id, "--memory", 2048] v.customize ["modifyvm", :id, "--memory", 2048]
v.customize ["modifyvm", :id, "--cpus", 2] v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end end
config.vm.provider :vmware_fusion do |v, override| config.vm.provider :vmware_fusion do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config| ...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config|
config.vm.provider :vmware_workstation do |v, override| config.vm.provider :vmware_workstation do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
......
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.require_version ">= 1.6.0"
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-81" config.vm.define "vagrant-windows-81"
config.vm.box = "windows_81" config.vm.box = "windows_81"
config.vm.communicator = "winrm"
if !Vagrant.has_plugin?('vagrant-windows')
puts "vagrant-windows missing, please install the vagrant-windows plugin!"
puts "Run this command in your terminal:"
puts "vagrant plugin install vagrant-windows"
exit 1
end
# Admin user name and password # Admin user name and password
config.winrm.username = "vagrant" config.winrm.username = "vagrant"
...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config| ...@@ -20,16 +16,19 @@ Vagrant.configure("2") do |config|
config.windows.halt_timeout = 15 config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.provider :virtualbox do |v, override| config.vm.provider :virtualbox do |v, override|
#v.gui = true #v.gui = true
v.customize ["modifyvm", :id, "--memory", 2048] v.customize ["modifyvm", :id, "--memory", 2048]
v.customize ["modifyvm", :id, "--cpus", 2] v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end end
config.vm.provider :vmware_fusion do |v, override| config.vm.provider :vmware_fusion do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config| ...@@ -39,6 +38,7 @@ Vagrant.configure("2") do |config|
config.vm.provider :vmware_workstation do |v, override| config.vm.provider :vmware_workstation do |v, override|
#v.gui = true #v.gui = true
v.vmx["memsize"] = "2048" v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
v.vmx["ethernet0.virtualDev"] = "vmxnet3" v.vmx["ethernet0.virtualDev"] = "vmxnet3"
v.vmx["RemoteDisplay.vnc.enabled"] = "false" v.vmx["RemoteDisplay.vnc.enabled"] = "false"
v.vmx["RemoteDisplay.vnc.port"] = "5900" v.vmx["RemoteDisplay.vnc.port"] = "5900"
......
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