Created
April 6, 2018 09:42
-
-
Save mattions/fa483399e4583a80e9b547d5317c1c5a to your computer and use it in GitHub Desktop.
Seven Bridges Filesystem helper script
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
# SBFS Privileged helper script | |
# Allow root to see projects. Needed if you want to use docker | |
# | |
# Note: export the $SBG_SBFS_MOUNT_POINT variable in your | |
# .bashrc | |
# | |
# For Example: | |
# export SBG_SBFS_MOUNT_POINT=~/sbfs_mount_point | |
# Make sure the `~/sbfs_mount_point` directory exists | |
# | |
# SBFS docs: https://docs.sevenbridges.com/docs/about-sbfs | |
sudo sbfs mount --allow-other --read-only $SBG_SBFS_MOUNT_POINT | |
echo "Mounted on $SBG_SBFS_MOUNT_POINT. To unmount run:" | |
echo " sudo sbfs unmount $SBG_SBFS_MOUNT_POINT" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment