Skip to content

Instantly share code, notes, and snippets.

@sifex
Last active January 8, 2017 23:24
Show Gist options
  • Select an option

  • Save sifex/0c36d3ff27c192a6343e2eb64b842fc8 to your computer and use it in GitHub Desktop.

Select an option

Save sifex/0c36d3ff27c192a6343e2eb64b842fc8 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "trusty64"
config.vm.box_url = "https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box"
config.vm.network :private_network, ip: "192.168.33.21"
config.vm.provision :shell, :path => "install.sh"
config.vm.synced_folder "/Users/alex/Development", "/var/www", id: "vagrant-root", :owner => "vagrant", :group => "www-data", :mount_options => ["dmode=777","fmode=666"]
config.vm.synced_folder "./sites/", "/etc/apache2/sites-available"
if Vagrant.has_plugin?("vagrant-timezone")
config.timezone.value = "UTC"
end
# vagrant plugin install vagrant-hostsupdater
config.hostsupdater.aliases = ["fundr.com", "www-dev.nightingale.io", "www-dev.sinn.io", "www-dev.australianarmedforces.org", "www-dev.alexsinnott.me", "www-dev.scarlet.australianarmedforces.org", "www-dev.sudouc.org.au", "devplatform", "Alexs-Macbook.gateway", "www-dev.admin.awm.alexsinnott.me", "www-dev.jobs.awm.alexsinnott.me", "www-dev.designerhub.io", "www-dev.gravtest", "www-dev.304squadron.org", "www-dev.lite.odin.sec", "www-dev.memeconomy.sinn.io", "www-dev.api.odin.sec", "www-dev.deployer.sudo.org.au"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment