forked from adlawson/vagrantfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
22 lines (16 loc) · 728 Bytes
/
Copy pathVagrantfile
File metadata and controls
22 lines (16 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Box
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Shared folders
config.vm.synced_folder ".", "/srv"
# Setup
config.vm.provision :shell, :inline => "apt-get update --fix-missing"
config.vm.provision :shell, :inline => "apt-get install -q -y cowsay python-software-properties python g++ make git curl"
config.vm.provision :shell, :inline => "add-apt-repository ppa:chris-lea/node.js && apt-get update"
config.vm.provision :shell, :inline => "apt-get install -q -y nodejs"
# Done
config.vm.provision :shell, :inline => "cowsay \"Your development environment is ready!\""
end