Created
August 10, 2015 09:56
-
-
Save ktimothy/ec71ec4d5396a0046b47 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
# Set the type of synced folders, depending on host os. | |
# Default VirtualBox folders cause symbolic links and unix socket bugs. | |
# So for Mac and Linux hosts we use NFS. Windows does not support it. | |
# So Windows host use rsync. Note that you should run vagrant rsync-auto. | |
synced_folder_type = FFI::Platform::IS_WINDOWS ? :rsync : :nfs | |
# Share an additional folder to the guest VM. The first argument is | |
# the path on the host to the actual folder. The second argument is | |
# the path on the guest to mount the folder. And the optional third | |
# argument is a set of non-required options. | |
config.vm.synced_folder ".", "/vagrant", type: synced_folder_type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment