wintriallab/vagrant/FreyjaA/Vagrantfile

37 lines
1.3 KiB
Ruby
Raw Normal View History

2015-11-25 21:56:41 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
require "date"
Vagrant.require_version ">= 1.6.2"
Vagrant.configure("2") do |config|
config.vm.define "FreyjaA " + DateTime.now.strftime("%Y-%m-%d-%H-%M-%S")
config.vm.box = "windows_10_x86_virtualbox.box"
config.vm.communicator = "winrm"
# Admin user name and password
config.winrm.username = "vagrant"
config.winrm.password = "V@grant123"
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.provider :virtualbox do |v, override|
#v.gui = true
v.customize ["modifyvm", :id, "--memory", 1024]
v.customize ["modifyvm", :id, "--cpus", 1]
v.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
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
config.vm.provision "file", source: "../../vagrant-postinstall.psm1", destination: "marionettist/vagrant-postinstall.psm1"
config.vm.provision "file", source: "../../wintriallab-postinstall.psm1", destination: "marionettist/wintriallab-postinstall.psm1"
end