Blame view

RIOT/Vagrantfile 828 Bytes
a752c7ab   elopes   add first test an...
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
  # -*- mode: ruby -*-
  # vi: set ft=ruby :
  
  require 'fileutils'
  
  RIOTBASE ||= "./"
  
  Vagrant.configure(2) do |config|
    # For a complete reference, please see the online documentation at https://docs.vagrantup.com.
  
    config.vm.box = "RIOT/ubuntu1604"
  
    config.vm.provider "virtualbox" do |vb|
      vb.name = "RIOT-VM"
      # additional USB passthrough entries
      # vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', '<custom_name>', '--vendorid', '<vID>', '--productid', '<pID>']
    end
  
    config.vm.synced_folder RIOTBASE, "/home/vagrant/RIOT"
  
    if File.exists?(File.join(Dir.home, ".gitconfig"))
      config.vm.provision "file", source: File.join(Dir.home, ".gitconfig"), destination: ".gitconfig"
    end
  # use a custom provisioning script
  # config.vm.provision "shell", path: "dist/tools/vagrant/bootstrap.sh"
  end