Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Default Vagrantfile for my Vagrant lamp stack
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.ssh.forward_agent = true
config.vm.network :private_network, ip: "10.0.0.10"
config.vm.synced_folder ".", "/var/www", { :mount_options => ['dmode=777','fmode=777'] }
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--memory", "512"]
end
config.vm.provision :shell do |s|
s.path = "https://gist.githubusercontent.com/johannesberdin/2b9eb79800395fce891d/raw/121db184f19e2eab918dbefe2797eb376f1e18a3/vagrant.sh"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.