forked from ARM-software/lisa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
26 lines (21 loc) · 909 Bytes
/
Vagrantfile
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 :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# Compiling pandas requires 1Gb of memory
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
# Forward ipython notebook's port to the host
config.vm.network "forwarded_port", guest: 8888, host: 8888
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y autoconf automake build-essential git libfreetype6-dev libpng12-dev libtool nmap pkg-config python-all-dev python-matplotlib python-nose python-numpy python-pip python-zmq sshpass trace-cmd tree
sudo pip install ipython[notebook] pandas
sudo apt-get remove -y w3m
ln -s /vagrant /home/vagrant/lisa
chown vagrant.vagrant /home/vagrant/lisa
echo cd /home/vagrant/lisa >> /home/vagrant/.bashrc
echo source init_env >> /home/vagrant/.bashrc
SHELL
end