-
Notifications
You must be signed in to change notification settings - Fork 12
/
Vagrantfile.template
35 lines (29 loc) · 1.12 KB
/
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
Vagrant.configure("2") do |config|
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
config.vm.network "public_network"
config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
config.vm.synced_folder "~/", "/vagrant", automount: true
config.vm.provider :virtualbox do |v, override|
v.gui = false
v.memory = 8192
v.cpus = 4
v.linked_clone = true
v.customize ["modifyvm", :id, "--nictype1", "82545EM"]
v.customize ["modifyvm", :id, "--clipboard-mode", "disabled"]
v.customize ["modifyvm", :id, "--paravirtprovider", "hyperv"]
v.customize ["modifyvm", :id, "--vram", "128"]
v.customize ["modifyvm", :id, "--accelerate3d", "on"]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end
config.vm.provider "hyperv" do |v, override|
v.enable_virtualization_extensions = true
v.auto_start_action = 'StartIfRunning'
v.auto_stop_action = 'Save'
v.memory = 8192
v.cpus = 4
v.linked_clone = true
end
end