-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation on how to set /tree as the default instead of /lab #105
Comments
Think this may be releated to the jupyterhub 2.0 change https://zero-to-jupyterhub.readthedocs.io/en/latest/jupyterhub/customizing/user-environment.html#selecting-a-user-interface. |
I tried setting the following in all.yaml in group_vars, but that didn't work. jupyterhub_custom:
Spawner:
environment:
JUPYTERHUB_SINGLEUSER_APP: notebook.notebookapp.NotebookApp I confirmed it's setting the environment variables by checking the following in a terminal within the singleuser jupyterlab: example-user@hpc02-test:~$ echo $JUPYTERHUB_SINGLEUSER_APP
notebook.notebookapp.NotebookApp Documentation suggesting it might work I'll continue looking into this. I think I should be able to just set the JUPYTERHUB_SINGLEUSER_APP environment variable on the jupyterhub instance since it's already included in c.Spawner.env_keep variable |
Also tried setting the following directly in jupyterhub_config.py, but doesn't work.
example-user@hpc02-test:~$ echo $JUPYTERHUB_SINGLEUSER_APP
notebook.notebookapp.NotebookApp |
Changing
in jupyterhub_config.py seems to work. Not sure if both are necessary or just one. |
Setting the following in group_vars/all.yaml works jupyterhub_custom:
QHubHPCSpawner:
default_url: '/tree'
Spawner:
environment:
JUPYTERHUB_SINGLEUSER_APP: notebook.notebookapp.NotebookApp while jupyterhub_custom:
QHubHPCSpawner:
default_url: '/tree' alone did not |
Servers are launched to /lab and not /tree
The text was updated successfully, but these errors were encountered: