Skip to content

Instantly share code, notes, and snippets.

@frio
Created January 30, 2014 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frio/8722571 to your computer and use it in GitHub Desktop.
Save frio/8722571 to your computer and use it in GitHub Desktop.
Boilerplate Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
provision = <<PROVISION
echo 'Provisioned!'
PROVISION
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.synced_folder ".", "/tmp/host/"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provision "shell", inline: provision
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment