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

change strategy : now copy script into guest

parent 84cdd007
Pipeline #2536 failed with stages
in 27 minutes and 6 seconds
......@@ -9,8 +9,10 @@ Vagrant.configure("2") do |config|
# Configure SSH Connectivity
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.ssh.insert_key = false
#config.ssh.insert_key = false
config.ssh.export_command_template = 'export PATH=/usr/local/bin:$PATH'
config.ssh.connect_timeout = 30
config.ssh.keep_alive = true
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
......@@ -21,6 +23,9 @@ Vagrant.configure("2") do |config|
vb.customize ["modifyvm", :id, "--vram", 128]
vb.customize ["modifyvm", :id, "--graphicscontroller","vboxvga"]
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
vb.customize ["modifyvm", :id, "--vtxvpid", "on"]
vb.customize ["modifyvm", :id, "--largepages", "on"]
vb.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end
......
......@@ -11,24 +11,50 @@
#- name: reboot after update
# reboot:
# reboot_timeout: 3600
## Use copy to avoid ssh timeout or error
- name: copy R install script
copy:
src: files/install-r.sh
dest: ~/install-r.sh
mode: u+x
- name: Install R and dependencies
script: files/install-r.sh
script: ./install-r.sh
async: 2000
poll: 30
- name: copy R packages install script
copy:
src: files/install-r-library.sh
dest: install-r-library.sh
mode: u+x
- name: Install R packages and dependencies
script: files/install-r-library.sh
async: 2700
script: ./install-r-library.sh
async: 4000
poll: 30
- name: copy MaCTeX install script
copy:
src: files/install-mactek.sh
dest: install-mactek.sh
mode: u+x
- name: Install MacTex
script: files/install-mactex.sh
script: ./install-mactex.sh
async: 1000
poll: 30
- name: copy XQuartz install script
copy:
src: files/install-xquartz.sh
dest: install-xquartz.sh
mode: u+x
- name: Install Xquartz
script: files/install-xquartz.sh
script: ./install-xquartz.sh
async: 1000
poll: 30
- name: copy GitLab Runner install script
copy:
src: files/install-gitlabrunner.sh
dest: install-gitlabrunner.sh
mode: u+x
- name: Install GitLab-Runner
script: files/install-gitlabrunner.sh
script: ./install-gitlabrunner.sh
async: 1000
poll: 30
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