vagrantfile-windows_81.template 1.86 KB
Newer Older
1 2 3
# -*- mode: ruby -*-
# vi: set ft=ruby :

4
Vagrant.require_version ">= 1.6.2"
5

6 7 8
Vagrant.configure("2") do |config|
    config.vm.define "vagrant-windows-81"
    config.vm.box = "windows_81"
9
    config.vm.communicator = "winrm"
10

11 12 13
    # Admin user name and password
    config.winrm.username = "vagrant"
    config.winrm.password = "vagrant"
14 15

    config.vm.guest = :windows
16
    config.windows.halt_timeout = 15
17

18
    config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
19

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]
24 25
        v.customize ["modifyvm", :id, "--vram", 128]
        v.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
26
        v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
27
    end
28

29 30 31
    config.vm.provider :vmware_fusion do |v, override|
        #v.gui = true
        v.vmx["memsize"] = "2048"
32
        v.vmx["numvcpus"] = "2"
33 34 35 36
        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
37
        v.vmx["gui.fitguestusingnativedisplayresolution"] = "FALSE"
38
        v.whitelist_verified = true
39
        v.vmx["hgfs.linkRootShare"] = "FALSE"
40
    end
41

42 43 44
    config.vm.provider :vmware_workstation do |v, override|
        #v.gui = true
        v.vmx["memsize"] = "2048"
45
        v.vmx["numvcpus"] = "2"
46 47 48 49
        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
50
        v.vmx["gui.fitguestusingnativedisplayresolution"] = "FALSE"
51
        v.whitelist_verified = true
52
        v.vmx["hgfs.linkRootShare"] = "FALSE"
53 54
    end
end