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

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

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

pandrew's avatar
pandrew committed
18
    config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", 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
35
        v.vmx["ethernet0.virtualDev"] = "vmxnet3"
        v.vmx["RemoteDisplay.vnc.enabled"] = "false"
        v.vmx["RemoteDisplay.vnc.port"] = "5900"
        v.vmx["scsi0.virtualDev"] = "lsisas1068"
    end
36

pandrew's avatar
pandrew committed
37
38
39
    config.vm.provider :vmware_workstation do |v, override|
        #v.gui = true
        v.vmx["memsize"] = "2048"
Blair Hamilton's avatar
Blair Hamilton committed
40
        v.vmx["numvcpus"] = "2"
pandrew's avatar
pandrew committed
41
42
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"
    end
end