Skip to content

Commit

Permalink
No keep_env
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven committed Oct 30, 2023
1 parent 83339fc commit 5650832
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions roles/jupyter/templates/jupyterhub_config.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ c.JupyterHub.spawner_class = 'systemdspawner.SystemdSpawner'
c.SystemdSpawner.default_shell = '/bin/bash'

c.Spawner.default_url = '/lab'
c.Spawner.env_keep = ['PATH', 'PYTHONPATH', 'CONDA_ROOT', 'CONDA_DEFAULT_ENV', 'VIRTUAL_ENV', 'LANG', 'LC_ALL', 'JUPYTERHUB_SINGLEUSER_APP', {% for key in jupyterhub_spawner_environment.keys() %}
'{{ key }}'{% if not loop.last %},{% endif %}
{% endfor %}]
c.Spawner.environment = { {% for key, value in jupyterhub_spawner_environment.items() %}
'{{ key }}': '{{ value }}'{% if not loop.last %},{% endif %}
{% endfor %} }
Expand Down

0 comments on commit 5650832

Please sign in to comment.