summaryrefslogtreecommitdiff
path: root/Vagrantfile
blob: 1ef4eb567b11968c9ccb9843e0b9ab32d11b07a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- mode: ruby -*-
# vi: set ft=ruby :

$gnu_radio_bootstrap = <<SCRIPT
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential git subversion
wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio
echo "export PYTHONPATH=/usr/local/lib/python2.7/dist-packages" >> ~/.bashrc
SCRIPT

Vagrant.configure("2") do |config|
  config.vm.box = "precise32"
  config.vm.box_url = "http://files.vagrantup.com/precise32.box"

  config.vm.provision :chef_solo do |chef|
    chef.add_recipe "gnuradio"
  end
end