Skip to content
Snippets Groups Projects
Commit e14c6e6b authored by Tim Kreuzer's avatar Tim Kreuzer
Browse files

add more just mounts per default

parent c1c7e38d
No related branches found
No related tags found
1 merge request!2restructure User Images
Pipeline #194526 canceled
...@@ -5,6 +5,14 @@ JUST_HOME_PATH=/mnt/JUST_HOME ...@@ -5,6 +5,14 @@ JUST_HOME_PATH=/mnt/JUST_HOME
mkdir -p ${JUST_HOME_PATH} mkdir -p ${JUST_HOME_PATH}
chown ${NB_UID}:${NB_GID} ${JUST_HOME_PATH} chown ${NB_UID}:${NB_GID} ${JUST_HOME_PATH}
mkdir -p /p/data1
chown ${NB_UID}:${NB_GID} /p/data1
mkdir -p /p/project1
chown ${NB_UID}:${NB_GID} /p/project1
mkdir -p /p/home/jusers
chown ${NB_UID}:${NB_GID} /p/home/jusers
## add B2DROP support ## add B2DROP support
B2DROP_PATH=/mnt/B2DROP B2DROP_PATH=/mnt/B2DROP
......
...@@ -77,6 +77,15 @@ mount_just () { ...@@ -77,6 +77,15 @@ mount_just () {
echo "$(date) - Python script ended with exit code $EC" echo "$(date) - Python script ended with exit code $EC"
fi fi
fi fi
if [[ -f /tmp/custom/mount_home_ro.sh ]]; then
/bin/bash /tmp/custom/mount_home_ro.sh
fi
if [[ -f /tmp/custom/mount_project_ro.sh ]]; then
/bin/bash /tmp/custom/mount_project_ro.sh
fi
if [[ -f /tmp/custom/mount_data_ro.sh ]]; then
/bin/bash /tmp/custom/mount_data_ro.sh
fi
echo "$(date) - Mount JUST done" echo "$(date) - Mount JUST done"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment