Created
December 20, 2016 15:41
-
-
Save dedeibel/c6e96c97c538985febef0f5e443190a4 to your computer and use it in GitHub Desktop.
Vagrant shared folders not on linux
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
use_nfs = ! RUBY_PLATFORM.downcase.include?("linux") | |
if (use_nfs) | |
node.vm.synced_folder ".", "/vagrant", type: "nfs" | |
else | |
node.vm.synced_folder ".", "/vagrant" | |
owner: "www-data", group: "www-data" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment