From 1a774817ee8c866483cb8b8f6c572bf9cdaf8f0a Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Tue, 27 Feb 2024 18:09:04 -0600 Subject: [PATCH] Move shared directory path to /shared --- roles/jupyterhub/templates/jupyterhub_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/jupyterhub/templates/jupyterhub_config.py b/roles/jupyterhub/templates/jupyterhub_config.py index b46eec92..ec5b2f8f 100644 --- a/roles/jupyterhub/templates/jupyterhub_config.py +++ b/roles/jupyterhub/templates/jupyterhub_config.py @@ -201,8 +201,8 @@ class QHubHPCSpawner(QHubHPCSpawnerBase): c.QHubHPCSpawner.req_conda_environment_prefix = '{{ miniforge_home }}/envs/{{ jupyterhub_lab_environment | basename | splitext | first }}' c.QHubHPCSpawner.req_prologue = ''' # ensure user has link to the shared directory, if it exists -if [ -d "/home/share" ] && [ ! -L "$HOME/share" ]; then - ln -s /home/share "$HOME/share" +if [ -d "/shared" ] && [ ! -L "$HOME/share" ]; then + ln -s /shared "$HOME/share" fi # ensure ipyparallel configuration profiles