Commit ba901f44 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update format files

parent 7dd64c55
Pipeline #2521 failed with stages
in 26 minutes and 47 seconds
......@@ -12,6 +12,7 @@ Gen-VM:
script:
- vboxmanage controlvm MacOSCR4 poweroff || true
- vboxmanage unregistervm --delete MacOSCR4 || true
- vagrant destroy -f
- vagrant box update
#- vagrant up > vagrantup.log
- vagrant up
......
Vagrant.configure("2") do |config|
config.vm.box = "GAEV/MacOS_Catalina"
config.vm.box = "GAEV/MacOS_Catalina"
config.vm.boot_timeout = 1800
config.vm.synced_folder ".", "/vagrant", disabled: true
# Configure Vagrant to use SSH
config.vm.communicator = "ssh"
config.vm.communicator = "ssh"
# Configure SSH Connectivity
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.ssh.export_command_template = 'export PATH=/usr/local/bin:$PATH'
# Configure SSH Connectivity
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.ssh.export_command_template = 'export PATH=/usr/local/bin:$PATH'
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
vb.name = "MacOSCR4"
vb.customize ["modifyvm", :id, "--memory", 8192]
vb.customize ["modifyvm", :id, "--cpus", 4]
vb.customize ["modifyvm", :id, "--vram", 128]
vb.customize ["modifyvm", :id, "--graphicscontroller","vboxvga"]
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
vb.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end
# Display the VirtualBox GUI when booting the machine
vb.gui = false
vb.name = "MacOSCR4"
vb.customize ["modifyvm", :id, "--memory", 8192]
vb.customize ["modifyvm", :id, "--cpus", 4]
vb.customize ["modifyvm", :id, "--vram", 128]
vb.customize ["modifyvm", :id, "--graphicscontroller","vboxvga"]
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.playbook = "ansible_provisioning/playbook.yml"
ansible.inventory_path = "ansible_provisioning/group_vars/inventory.yml"
ansible.verbose = "-vv"
ansible.limit= "macos"
end
end
end
macos:
hosts:
MacOSCatalina:
MacOSCatalina:
ansible_host: 127.0.0.1
vars:
ansible_user: vagrant
......
......@@ -6,11 +6,11 @@
tasks:
- name: ping
ping:
#- name: Update MacOS
# script: files/update-macos.sh
#- name: reboot after update
# reboot:
# reboot_timeout: 3600
#- name: Update MacOS
# script: files/update-macos.sh
#- name: reboot after update
# reboot:
# reboot_timeout: 3600
- name: Install R and dependencies
script: files/install-r.sh
- name: Install R packages and dependencies
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment