Last active
December 22, 2015 11:19
-
-
Save invalidusrname/6464607 to your computer and use it in GitHub Desktop.
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
diff --git a/Vagrantfile b/Vagrantfile | |
index f5f8d5a..db63767 100644 | |
--- a/Vagrantfile | |
+++ b/Vagrantfile | |
@@ -4,8 +4,8 @@ | |
Vagrant.configure("2") do |c| | |
c.vm.define "technekes-dev" do |config| | |
config.vm.box = "precise64" | |
#config.vm.box_url = "http://files.vagrantup.com/precise64_vmware_fusion.box" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.hostname = "technekes-dev" | |
config.vm.network :private_network, ip: "33.33.13.13" | |
@@ -15,9 +15,10 @@ Vagrant.configure("2") do |c| | |
ENV['VAGRANT_NFS_MOUNT'] ||= '1' | |
- use_nfs = ENV['VAGRANT_NFS_MOUNT'].to_i == 1 | |
+ use_shared_folder = (ENV['VAGRANT_USE_SHARED'] ||= 1).to_i == 1 | |
+ use_nfs = (ENV['VAGRANT_NFS_MOUNT'] ||= 1).to_i == 1 | |
- if use_nfs | |
+ if use_shared_folder | |
config.vm.synced_folder local_dev_dir, "/var/apps", :nfs => use_nfs | |
config.vm.synced_folder local_gem_dir, "/var/gems", :nfs => use_nfs | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment