-
Notifications
You must be signed in to change notification settings - Fork 3
/
Vagrantfile
31 lines (25 loc) · 1.38 KB
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.109.2"
config.vm.synced_folder ".", "/vagrant", type: "nfs"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--pae", "on"]
vb.customize ["modifyvm", :id, "--memory", "6144"]
vb.customize ["modifyvm", :id, "--cpus", "1"]
# Force the box into 64 bit mode. For some reason the Ubuntu box
# isn't configured correctly.
vb.customize ["modifyvm", :id, "--ostype", "Ubuntu_64"]
end
config.vm.provision :shell, :path => "provision_scripts/bootstrap.sh", :privileged => false
config.vm.provision :shell, :path => "provision_scripts/install_git.sh", :privileged => false
config.vm.provision :shell, :path => "provision_scripts/install_ruby.sh", :privileged => false
config.vm.provision :shell, :path => "provision_scripts/install_rails.sh", :privileged => false
config.vm.provision :shell, :path => "provision_scripts/install_spree.sh", :privileged => false
config.vm.provision :shell, :path => "provision_scripts/install_postgres.sh", :privileged => true
end