File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
vre-swan-cern/scripts/before-notebook.d Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 6262 _log " Created directory /home/${NB_USER} /.ipython/profile_default"
6363
6464 # Configure the iPython kernel to load the Rucio JupyterLab extension.
65- # Given that this is the first script to run, we can safely overwrite any existing configuration.
66- echo " c.IPKernelApp.extensions = ['rucio_jupyterlab.kernels.ipython']" > /home/${NB_USER} /.ipython/profile_default/ipython_kernel_config.py
65+ echo " c.IPKernelApp.extensions = ['rucio_jupyterlab.kernels.ipython']" >> /home/${NB_USER} /.ipython/profile_default/ipython_kernel_config.py
6766
6867 _log " iPython kernel for Rucio JupyterLab set up successfully."
6968
7372 # The Rusio specific file is provided by CVMFS, and the original is copied from the Dockerfile.
7473 cat " ${ESCAPE_CVMFS_PATH} /etc/jupyter/jupyter_server_config.py" >> /home/${NB_USER} /.jupyter/jupyter_server_config.py
7574
76- # Export the env coming from the spawner to the jupyter server environment if SWAN_USE_RUCIO is true
77- export SWAN_RUCIO_INSTANCE
78- export SWAN_RUCIO_RSE
79- export SWAN_RUCIO_RSE_PATH
80- export SWAN_RUCIO_RSE_PATH_NUMBER
81-
8275 _log " Extension configuration file written successfully."
8376 _log " Rucio JupyterLab setup completed."
8477else
85- _log " Skipping Rucio JupyterLab configuration as HTCondor is not enabled." ;
78+ _log " Skipping Rucio JupyterLab configuration as it's not enabled." ;
8679fi
You can’t perform that action at this time.
0 commit comments