freebsd-vagrant
freebsd-vagrant copied to clipboard
Resolve frequent stale NFS file/handle issues.
This is likely because I failed to include nfs_client_enable="YES"
in /etc/rc.conf
.
route get 127.1.1.1 | tr -d ' ' | grep gateway | awk -F':' '{print $2}
empty return
s.args = "/SOURCE/DIR /DEST/DIR"
error
You need to change /SOURCE/DIR
to the directory you want to export on the host system, for instance on Mac OS X something like /Users/YOUR_USER_NAME
and /DEST/DIR
to be where you want it to be exported, such as /vagrant
@xironix
- [x] NFS native
Vagrant::Config.run do |config|
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)
end
- [x] NFS run sudo
sudo vagrant up # modification /etc/exports
- [ ] Minimal install distro (without chef, java, etc.. shit)