Skip to content

Instantly share code, notes, and snippets.

@timnovis
Created October 26, 2016 16:18
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 timnovis/ccbff2781f7467bb3e4930ba4776f508 to your computer and use it in GitHub Desktop.
Save timnovis/ccbff2781f7467bb3e4930ba4776f508 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
# config.vm.network "private_network", ip: "192.168.33.10"
config.vm.network "public_network"
config.vm.hostname = "vagrantbox"
config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
# Optional NFS. Make sure to remove other synced_folder line too
#config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options => ["dmode=777","fmode=666"] }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment