Created
August 26, 2012 08:40
-
-
Save krak3n/3476269 to your computer and use it in GitHub Desktop.
Enable symlinks in Vagrant
This file contains 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 : | |
# | |
# Ensure you set your file system mount to NFS, you'll need to provide the VM with a static IP for a hostonly network. | |
# | |
Vagrant::Config.run do |config| | |
# ... | |
config.vm.share_folder("v-root", "/path/to/mount", ".", :nfs => true) | |
config.vm.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] | |
config.vm.network :hostonly, "X.X.X.X" | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment