forked from bishopZ/meditation-deathmatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (22 loc) · 930 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
27
28
29
30
31
32
$script = <<SCRIPT
## Sys Pre-Reqs
sudo apt-get install -y python python-pip python-dev git liblo-dev python-numpy python-scipy python-pygame python-qt4 python-qt4-dev
sudo pip install pyliblo gevent-socketio pyserial
## MDM
sudo rm -rf meditation-deathmatch
git clone https://github.com/bishopZ/meditation-deathmatch
touch pull-done
SCRIPT
Vagrant.configure("2") do |config|
config.vm.define :ubuntu do |ubuntu|
ubuntu.vm.box = 'ubuntu-1410'
ubuntu.vm.box_url = 'https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-i386-vagrant-disk1.box'
end
config.vm.network :private_network, ip: '10.200.0.2'
config.vm.network "forwarded_port", guest: 3101, host: 3101
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", 1024]
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
config.vm.provision "shell", inline: $script
end