Sha256: 730ed88e26999ba8ced1546b33eb2fa12b420a52ca4e31aded27710593da05e2

Contents?: true

Size: 795 Bytes

Versions: 5

Compression:

Stored size: 795 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "ubuntu/bionic64"

  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope = :box
  end

  if Vagrant.has_plugin?("vagrant-vbguest")
    config.vbguest.auto_update = false
  end

  #configure ssh forward agent
  `key_file=~/.ssh/id_rsa && [[ -z $(ssh-add -L | grep $key_file) ]] && ssh-add $key_file`
  config.ssh.forward_agent = true

  config.vm.define :dev_machine, primary: true do |node|
    node.vm.provision :shell, :path => "bootstrap.sh"
    node.vm.provision :copy_my_conf do |copy_conf|
      copy_conf.git
      copy_conf.vim
    end

    node.vm.provider "virtualbox" do |vb|
      vb.name = "achecker_dev"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
achecker-0.0.9 Vagrantfile
achecker-0.0.8 Vagrantfile
achecker-0.0.7 Vagrantfile
achecker-0.0.6 Vagrantfile
achecker-0.0.5 Vagrantfile