You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.require_version ">= 1.6.2"
|
|
|
|
Vagrant.configure("2") do |config|
|
|
config.vm.define "vagrant-windows-81-x86"
|
|
config.vm.box = "wintriallab-windows_81_x86"
|
|
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 |v, override|
|
|
v.gui = true
|
|
v.customize ["modifyvm", :id, "--memory", 2048]
|
|
v.customize ["modifyvm", :id, "--cpus", 2]
|
|
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
|
|
v.customize ["storageattach", :id, "--storagectl", "IDE Controller", "--port", 1, "--device", 0, "--type", "dvddrive", "--medium", "emptydrive"]
|
|
v.customize ["modifyvm", :id, "--accelerate2dvideo", "on"]
|
|
v.customize ["modifyvm", :id, "--vram", 128]
|
|
v.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
|
|
v.customize ["modifyvm", :id, "--draganddrop", "bidirectional"]
|
|
end
|
|
end
|