vagrantfile-windows_81.template 1.65 KB
Newer Older
pandrew's avatar
pandrew committed
1
2
3
# -*- mode: ruby -*-
# vi: set ft=ruby :

4
Vagrant.require_version ">= 1.6.2"
Blair Hamilton's avatar
Blair Hamilton committed
5

pandrew's avatar
pandrew committed
6
7
8
Vagrant.configure("2") do |config|
    config.vm.define "vagrant-windows-81"
    config.vm.box = "windows_81"
Blair Hamilton's avatar
Blair Hamilton committed
9
    config.vm.communicator = "winrm"
10

pandrew's avatar
pandrew committed
11
12
13
    # Admin user name and password
    config.winrm.username = "vagrant"
    config.winrm.password = "vagrant"
14
15

    config.vm.guest = :windows
pandrew's avatar
pandrew committed
16
    config.windows.halt_timeout = 15
17

18
    config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
pandrew's avatar
pandrew committed
19

pandrew's avatar
pandrew committed
20
21
22
    config.vm.provider :virtualbox do |v, override|
        #v.gui = true
        v.customize ["modifyvm", :id, "--memory", 2048]
23
        v.customize ["modifyvm", :id, "--cpus", 2]
Blair Hamilton's avatar
Blair Hamilton committed
24
        v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
pandrew's avatar
pandrew committed
25
    end
26

pandrew's avatar
pandrew committed
27
28
29
    config.vm.provider :vmware_fusion do |v, override|
        #v.gui = true
        v.vmx["memsize"] = "2048"
Blair Hamilton's avatar
Blair Hamilton committed
30
        v.vmx["numvcpus"] = "2"
pandrew's avatar
pandrew committed
31
32
33
34
        v.vmx["ethernet0.virtualDev"] = "vmxnet3"
        v.vmx["RemoteDisplay.vnc.enabled"] = "false"
        v.vmx["RemoteDisplay.vnc.port"] = "5900"
        v.vmx["scsi0.virtualDev"] = "lsisas1068"
Stefan Scherer's avatar
Stefan Scherer committed
35
        v.vmx["gui.fitguestusingnativedisplayresolution"] = "FALSE"
36
        v.whitelist_verified = true
pandrew's avatar
pandrew committed
37
    end
38

pandrew's avatar
pandrew committed
39
40
41
    config.vm.provider :vmware_workstation do |v, override|
        #v.gui = true
        v.vmx["memsize"] = "2048"
Blair Hamilton's avatar
Blair Hamilton committed
42
        v.vmx["numvcpus"] = "2"
pandrew's avatar
pandrew committed
43
44
45
46
        v.vmx["ethernet0.virtualDev"] = "vmxnet3"
        v.vmx["RemoteDisplay.vnc.enabled"] = "false"
        v.vmx["RemoteDisplay.vnc.port"] = "5900"
        v.vmx["scsi0.virtualDev"] = "lsisas1068"
Stefan Scherer's avatar
Stefan Scherer committed
47
        v.vmx["gui.fitguestusingnativedisplayresolution"] = "FALSE"
48
        v.whitelist_verified = true
pandrew's avatar
pandrew committed
49
50
    end
end