You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by mh...@apache.org on 2021/11/22 12:37:24 UTC

[incubator-datalab] branch DATALAB-2611 created (now 4960280)

This is an automated email from the ASF dual-hosted git repository.

mhladun pushed a change to branch DATALAB-2611
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 4960280  DATALAB-2611

This branch includes the following new commits:

     new 4960280  DATALAB-2611

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org


[incubator-datalab] 01/01: DATALAB-2611

Posted by mh...@apache.org.
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 <ma...@gmail.com>
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: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org