Created
October 7, 2014 19:12
-
-
Save dickolsson/d5f9ca91d32c434fdd29 to your computer and use it in GitHub Desktop.
Basic Vagrantfile
This file contains hidden or 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
| 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