This is an automated email from the ASF dual-hosted git repository.
mhladun pushed a commit to branch 2.5.1-tensor-jupyterlab
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/2.5.1-tensor-jupyterlab by
this push:
new 6960ad1 Added service template to /tmp
6960ad1 is described below
commit 6960ad1a86cfe5c762673c01ea6f4aa0d593f0c4
Author: Marian_Hladun <[email protected]>
AuthorDate: Thu Feb 17 17:55:48 2022 +0200
Added service template to /tmp
---
infrastructure-provisioning/src/general/lib/os/fab.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py
b/infrastructure-provisioning/src/general/lib/os/fab.py
index 67abe7e..c62783e 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -1060,6 +1060,7 @@ def configure_jupyterlab(os_user, jupyterlab_conf_file,
templates_dir, jupyterla
conn.sudo('echo \'c.NotebookApp.cookie_secret = b"{0}"\' >>
{1}'.format(id_generator(), jupyterlab_conf_file))
conn.sudo('''echo "c.NotebookApp.token = u''" >>
{}'''.format(jupyterlab_conf_file))
conn.sudo('echo \'c.KernelSpecManager.ensure_native_kernel =
False\' >> {}'.format(jupyterlab_conf_file))
+ conn.put(templates_dir + 'jupyterlab-notebook.service',
'/tmp/jupyter-notebook.service')
#if os.environ['conf_deeplearning_cloud_ami'] == 'true' and
os.environ['application'] == 'deeplearning':
# conn.sudo(
# '''echo "c.NotebookApp.kernel_spec_manager_class =
'environment_kernels.EnvironmentKernelSpecManager'" >> {}'''.format(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]