You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/02/16 13:58:31 UTC
[incubator-datalab] 01/01: [DATALAB-2509]: removed cuda deb file
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2509
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit bd47d8e0bbb777d1f3be394d05ede927de59ab82
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Feb 16 15:58:10 2022 +0200
[DATALAB-2509]: removed cuda deb file
---
infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index fd6bc98..b4ebb57 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -314,6 +314,7 @@ def install_nvidia_drivers(os_user):
manage_pkg('-y install', 'remote', 'cuda')
#clean space on disk
manage_pkg('clean', 'remote', 'all')
+ datalab.fab.conn.sudo('rm {}'.format(cuda_file_name))
datalab.fab.conn.sudo('touch /home/{}/.ensure_dir/nvidia_ensured'.format(os_user))
except Exception as err:
print('Failed to install_nvidia_drivers: ', str(err))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org