Created
January 4, 2016 09:46
-
-
Save johannesberdin/5191d6deee092a6460b7 to your computer and use it in GitHub Desktop.
Default Vagrantfile for my Vagrant lamp stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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