This is an automated email from the ASF dual-hosted git repository. mhladun pushed a commit to branch DATALAB-2611 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 4960280d014070b106c86579713ef4d4547b9f2b Author: Marian_Hladun <[email protected]> AuthorDate: Mon Nov 22 14:37:14 2021 +0200 DATALAB-2611 --- infrastructure-provisioning/src/general/lib/os/fab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index d836230..ae55db6 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -978,7 +978,7 @@ def configure_jupyter(os_user, jupyter_conf_file, templates_dir, jupyter_version conn.sudo('rm -rf {}'.format(jupyter_conf_file)) elif os.environ['application'] != 'tensor': conn.sudo('pip3 install environment_kernels') - if os.environ['conf_cloud_provider'] == 'aws': + if os.environ['conf_cloud_provider'] == 'aws' and os.environ['application'] == 'deeplearning': conn.sudo('chown -R {0} /home/{0}/.local'.format(os_user)) conn.sudo('chgrp -R {0} /home/{0}/.local'.format(os_user)) conn.run('jupyter notebook --generate-config --config {}'.format(jupyter_conf_file)) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
