-
-
Save luiselizondo/dfeb5cb0527fe21260e5 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
#!/bin/bash | |
############################################################################ | |
# Note: Special network 192.162.50.3 to use Cisco Anyconnect Split tunnel. | |
# | |
# On OX X host you need to add a line (and file) /etc/exports: | |
# /Users -mapall=[youruser]:[yourgroup] [boot2dockerip] | |
# See: https://quip.com/EDYLAAfuup5M (no login needed) | |
# See also: https://github.com/boot2docker/boot2docker/issues/587#issuecomment-66935011 | |
# See also: http://support.apple.com/en-us/HT202243 | |
# See also: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/exports.5.html | |
############################################################################# | |
sudo umount /Users | |
sudo /usr/local/etc/init.d/nfs-client start | |
sudo mount 192.168.59.103:/Users /Users -o rw,async,noatime,rsize=32768,wsize=32768,proto=tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -sSL https://gist.githubusercontent.com/luiselizondo/dfeb5cb0527fe21260e5/raw/17d61fb406f383fec3221bd02e64702e084717c7/nfs-mount-boot2docker.sh | bash -