-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows-7-vagrantfile.template
36 lines (29 loc) · 1.06 KB
/
windows-7-vagrantfile.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version ">= 1.6.2"
Vagrant.configure("2") do |config|
config.vm.define "vagrant-windows-7"
config.vm.box = "windows_7"
config.vm.communicator = "winrm"
# Admin user name and password
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
config.vm.guest = :windows
config.windows.halt_timeout = 15
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh", auto_correct: true
config.vm.provider :virtualbox do |vb, override|
vb.gui = true
vb.memory = 4096
vb.cpus = 4
end
config.vm.provider :vmware_fusion do |vb, override|
vb.gui = true
vb.vmx["memsize"] = "4096"
vb.vmx["numvcpus"] = "4"
vb.vmx["ethernet0.virtualDev"] = "vmxnet3"
vb.vmx["RemoteDisplay.vnc.enabled"] = "false"
vb.vmx["RemoteDisplay.vnc.port"] = "5900"
vb.vmx["scsi0.virtualDev"] = "lsisas1068"
end
end