Skip to content

Instantly share code, notes, and snippets.

@marcusandre
Created February 23, 2017 13:55
Show Gist options
  • Save marcusandre/4be02ad6b14ef7d3af6bd127d60ef44f to your computer and use it in GitHub Desktop.
Save marcusandre/4be02ad6b14ef7d3af6bd127d60ef44f to your computer and use it in GitHub Desktop.
Vagrant starter
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder "./app", "/var/www/app"
config.vm.provider "virtualbox" do |vb|
vb.memory = "512"
vb.name = "quantifoo"
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment