Created
May 19, 2014 19:58
-
-
Save DannyNunez/94d2659d4f4432420fd6 to your computer and use it in GitHub Desktop.
Vagrant File to allow VM write access to file on the host Machine
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
# -*- 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 = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network :private_network, ip: "192.168.33.21" | |
config.vm.provision :shell, :path => "install.sh" | |
config.vm.synced_folder ".", "/var/www", | |
owner: "vagrant", | |
group: "www-data", | |
mount_options: ["dmode=775,fmode=664"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment