Skip to content

Instantly share code, notes, and snippets.

@tomhalley
Created March 30, 2015 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomhalley/86c2eadd1253ba06a7a9 to your computer and use it in GitHub Desktop.
Save tomhalley/86c2eadd1253ba06a7a9 to your computer and use it in GitHub Desktop.
Vagrant File
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.110.50"
config.vm.provision :shell, path: ".vagrant/scripts/main.sh"
config.vm.provision "shell", inline: "service apache2 restart"
config.vm.synced_folder "/var/www/", "/home/tom/Projects/easyproperty"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment