From 13f2efe5d7d1d34df1b051b5bf2232b720e57ff4 Mon Sep 17 00:00:00 2001 From: Callysto Sysadmin Date: Wed, 20 Jul 2022 18:39:21 +0000 Subject: [PATCH] Make sure we land in the notebook interface After updating the user image, we noticed that the hub was launching usres straight into /lab rather than /tree. This change (temporarily) reverts that. I think the underlying problem is described here * https://github.com/jupyterhub/kubespawner/issues/531 So there will be changes to come with JupyterHub 2.x releases and this can be revisited then. Signed-off-by: Callysto Sysadmin --- ansible/roles/internal/jupyterhub/defaults/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/roles/internal/jupyterhub/defaults/main.yml b/ansible/roles/internal/jupyterhub/defaults/main.yml index 942a96a..86ee320 100644 --- a/ansible/roles/internal/jupyterhub/defaults/main.yml +++ b/ansible/roles/internal/jupyterhub/defaults/main.yml @@ -84,6 +84,10 @@ jupyterhub_spawners: value: 'True' - conf_object: 'DockerSpawner.environment' value: "{ 'JUPYTER_RUNTIME_DIR': '/tmp' }" + - conf_object: 'Spawner.cmd' + value: 'jupyterhub-singleuser' + - conf_object: 'DockerSpawner.default_url' + value: '/tree' syzygyswiftspawner: name: 'syzygyauthenticator.swiftspawner.SyzygySwiftSpawner' options: