Skip to content

Instantly share code, notes, and snippets.

@mattions
Created April 6, 2018 09:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattions/fa483399e4583a80e9b547d5317c1c5a to your computer and use it in GitHub Desktop.
Save mattions/fa483399e4583a80e9b547d5317c1c5a to your computer and use it in GitHub Desktop.
Seven Bridges Filesystem helper script
# 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