Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

Vagrantfile

Blame
    • Martin Griesbach's avatar
      78048d88
      Vagrant Updates: · 78048d88
      Martin Griesbach authored
      	* add Vagrant temp files to .gitignore
      	* Update Vagrant Basebox to bento/ubuntu-18.04 (bento images deliver better Vagrant integration)
      	* Update Vagrant setup-salt.sh to use the current salt bootstrap script.
      78048d88
      History
      Vagrant Updates:
      Martin Griesbach authored
      	* add Vagrant temp files to .gitignore
      	* Update Vagrant Basebox to bento/ubuntu-18.04 (bento images deliver better Vagrant integration)
      	* Update Vagrant setup-salt.sh to use the current salt bootstrap script.
    Vagrantfile 749 B
    # frozen_string_literal: true
    
    # -*- mode: ruby -*-
    # vi: set ft=ruby :
    
    # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
    VAGRANTFILE_API_VERSION = '2'
    
    Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
      config.vm.box = 'bento/ubuntu-18.04'
      config.vm.hostname = 'salt'
      config.vm.synced_folder './', '/srv/salt', id: 'vagrant-root'
    
      config.ssh.forward_agent = true
    
      config.vm.provider :virtualbox do |vb|
        # Use VBoxManage to customize the VM. For example to change memory:
        vb.customize ['modifyvm', :id, '--memory', '1024']
      end
      config.cache.scope = :box if Vagrant.has_plugin?('vagrant-cachier')
    
      # Set up salt-master and minion
      config.vm.provision 'shell', path: 'dev/setup-salt.sh'
    end