Merge pull request #10093 from breadoven/abo_blackbox_flightmode_update
[inav.git] / Vagrantfile
blob9dea5d6d44dcaf21db92c10bbce38f0f54553070
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
4 # All Vagrant configuration is done below. The "2" in Vagrant.configure
5 # configures the configuration version (we support older styles for
6 # backwards compatibility). Please don't change it unless you know what
7 # you're doing.
8 Vagrant.configure(2) do |config|
9   # The most common configuration options are documented and commented below.
10   # For a complete reference, please see the online documentation at
11   # https://docs.vagrantup.com.
13   # Every Vagrant development environment requires a box. You can search for
14   # boxes at https://atlas.hashicorp.com/search.
15   config.vm.box = "ubuntu/trusty64"
16   config.vm.synced_folder ".", "/home/vagrant/inav"
17   config.vm.hostname = "iNavDev"
18   config.vm.define "iNavDev"
19   config.vm.provider :virtualbox do |vb|
20         vb.name = "iNavDev"
21   end
22   # Enable provisioning with a shell script. Additional provisioners such as
23   # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
24   # documentation for more information about their specific syntax and use.
25   config.vm.provision "shell", inline: <<-SHELL
26         sudo apt-get remove -y --force-yes gcc-arm-none-eabi ruby
27         sudo apt-add-repository ppa:brightbox/ruby-ng
28         sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
29         sudo apt-get update
30         sudo apt-get install -y --force-yes git gcc-arm-embedded ruby2.4 ruby2.4-dev
31   SHELL
32 end