File: Vagrantfile

package info (click to toggle)
ruby-health-check 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: sh: 1,227; ruby: 766; makefile: 3
file content (32 lines) | stat: -rw-r--r-- 880 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  config.vm.box = "ubuntu/focal64"

  # set auto_update to false, if you do NOT want to check the correct 
  # additions version when booting this machine
  config.vbguest.auto_update = false
    
  # do NOT download the iso file from a webserver
  config.vbguest.no_remote = true

  # provision with a shell script.
  config.vm.provision "shell", path: "./test/provision_vagrant"

  config.vm.provider "virtualbox" do |v|
    # travis allocates 7.5 GB, but this is sufficient
    v.memory = 2048
    v.cpus = 2
  end

#  if File.file?('.git') && IO.read('.git') =~ %r{\Agitdir: (.+)/.git/worktrees.*}
#    # Handle git worktrees ...
#    path = $1
#    config.vm.synced_folder path, path
#  end

end