Skip to content

Instantly share code, notes, and snippets.

@dickolsson
Created October 7, 2014 19:12
Show Gist options
  • Select an option

  • Save dickolsson/d5f9ca91d32c434fdd29 to your computer and use it in GitHub Desktop.

Select an option

Save dickolsson/d5f9ca91d32c434fdd29 to your computer and use it in GitHub Desktop.
Basic Vagrantfile
Vagrant.configure("2") do |c|
c.vm.box = "trusty"
c.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
c.vm.network :private_network, ip: "192.168.33.30"
c.ssh.forward_agent = true
c.vm.synced_folder "./html", "/var/www/html", nfs: true
c.vm.synced_folder "./src", "/usr/local/src", nfs: true
c.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
c.vm.provision "shell" do |s|
s.path = "https://gist.githubusercontent.com/dickolsson/45f06e85f8a8e57eaf23/raw/drupal-provisioner"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment