diff --git a/src/example_config.json b/src/example_config.json index ce64555..96b6ad6 100644 --- a/src/example_config.json +++ b/src/example_config.json @@ -41,7 +41,8 @@ "python_version": "python3.8", "module_manager": "virtualenv", "modules": ["jupyterlab"], - "time_limit": "60" + "time_limit": "60", + "environment_name": "JupyterLabJob" } } }, diff --git a/src/user_workspaces_server/templates/script_templates/jupyter_lab_template.sh b/src/user_workspaces_server/templates/script_templates/jupyter_lab_template.sh index e78578f..d42a3db 100644 --- a/src/user_workspaces_server/templates/script_templates/jupyter_lab_template.sh +++ b/src/user_workspaces_server/templates/script_templates/jupyter_lab_template.sh @@ -1,5 +1,5 @@ #!/bin/bash -VENV_PATH="{{ workspace_full_path }}/.JupyterLabJob_venv" +VENV_PATH="{{ workspace_full_path }}/{{ environment_name }}_venv" echo $(date) ### Environment initialization