Vagrantfile 1.13 KB
Newer Older
1
2
Vagrant.configure("2") do |config|
  config.vm.box = "GAEV/win10"
Jean-Francois Rey's avatar
update    
Jean-Francois Rey committed
3
	config.vm.boot_timeout = 1200
4
5
6
7
8
9
10
11
12
13
14
15
16
17

	# Configure Vagrant to use WinRM instead of SSH
  config.vm.communicator = "winrm"
 
  # Configure WinRM Connectivity
	config.winrm.basic_auth_only = true
  config.winrm.username = "vagrant"
  config.winrm.password = "vagrant"

	config.vm.provider "virtualbox" do |vb|
     # Display the VirtualBox GUI when booting the machine
     vb.gui = false
		 vb.name = "windows10R4"
		 vb.customize ["modifyvm", :id, "--memory", 4096]
18
     vb.customize ["modifyvm", :id, "--cpus", 3]
19
20
21
     vb.customize ["modifyvm", :id, "--vram", 128]
     vb.customize ["modifyvm", :id, "--graphicscontroller","vboxsvga"]
     vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
Jean-Francois Rey's avatar
Jean-Francois Rey committed
22
     vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
23
24
25
26
27
28
29
30
31
32
33
     vb.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
  end
	
	config.vm.provision "ansible" do |ansible|
    ansible.playbook = "ansible_provisioning/playbook.yml"
		ansible.inventory_path = "ansible_provisioning/group_vars/inventory.yml"
		ansible.verbose = "-vv"
		ansible.limit= "windows"
  end
end