-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
19 lines (18 loc) · 994 Bytes
/
Vagrantfile
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 :
Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.network :hostonly, "10.0.2.0"
config.vm.share_folder "v-root", "/srv/share", "."
config.vm.customize ["modifyvm", :id, "--memory", 1024]
config.vm.provision :shell, :inline => "apt-get update"
config.vm.provision :shell, :inline => "apt-get -y install git build-essential python curl unzip"
config.vm.provision :shell, :inline => "cd /home/vagrant"
config.vm.provision :shell, :inline => "git clone git://www.github.com/woce/woce-build"
config.vm.provision :shell, :inline => "chown -R vagrant woce-build"
config.vm.provision :shell, :inline => "mkdir -p /srv/downloads /srv/doctors"
config.vm.provision :shell, :inline => "chown -R vagrant /srv/downloads"
config.vm.provision :shell, :inline => "chown -R vagrant /srv/doctors"
config.vm.provision :shell, :inline => "rm postinstall.sh"
end