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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to