Created
April 21, 2017 04:14
-
-
Save alexleekt/8e17907164dfb2ef8b11cdb0adaa2a42 to your computer and use it in GitHub Desktop.
boot2docker autorun with NFS mount
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
# | |
# /var/lib/boot2docker/bootlocal.sh | |
# | |
# boot2docker will automatically run the script at this location. | |
# | |
mkdir -p /mnt/tank/media /mnt/tank/appconfig | |
/usr/local/etc/init.d/nfs-client start | |
mount nas.sagano.lan:/mnt/tank/media /mnt/tank/media | |
mount nas.sagano.lan:/mnt/tank/appconfig /mnt/tank/appconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment