Vagrantfile 1.2 KB
Newer Older
Jean-Francois Rey's avatar
Jean-Francois Rey committed
1
2
3
Vagrant.configure("2") do |config|
  config.vm.box = "GAEV/MacOS_Catalina"
	config.vm.boot_timeout = 1200
4
	config.vm.synced_folder ".", "/vagrant", disabled: true
Jean-Francois Rey's avatar
Jean-Francois Rey committed
5
6
7
8
9
10
11

	# Configure Vagrant to use SSH
  config.vm.communicator = "ssh"
 
  # Configure SSH Connectivity
  config.ssh.username = "vagrant"
  config.ssh.password = "vagrant"
Jean-Francois Rey's avatar
Jean-Francois Rey committed
12
  config.ssh.export_command_template = 'export PATH=/usr/local/bin:$PATH'
Jean-Francois Rey's avatar
Jean-Francois Rey committed
13
14
15
16

	config.vm.provider "virtualbox" do |vb|
     # Display the VirtualBox GUI when booting the machine
     vb.gui = true
Jean-Francois Rey's avatar
Jean-Francois Rey committed
17
		 vb.name = "MacOSCR4"
Jean-Francois Rey's avatar
Jean-Francois Rey committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
		 vb.customize ["modifyvm", :id, "--memory", 4096]
     vb.customize ["modifyvm", :id, "--cpus", 4]
     vb.customize ["modifyvm", :id, "--vram", 128]
     vb.customize ["modifyvm", :id, "--graphicscontroller","vboxsvga"]
     vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
     vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
     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= "macos"
  end
end