From 063b9973aec71447cd1af9339321d91f344ea994 Mon Sep 17 00:00:00 2001 From: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com> Date: Thu, 2 Mar 2023 09:25:47 +0100 Subject: [PATCH] Don't mount to many files --- jlmkr.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jlmkr.py b/jlmkr.py index 26bd39b..a9f6d88 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -196,10 +196,8 @@ def start_jail(jail_name): if os.path.exists(file_path): nvidia_files.add(file_path) - # Add libnvidia-ml.so.1 (and possibly other nvidia files) which - # are not listed by nvidia-container-cli, but required to run... - nvidia_files.update( - glob.glob('/usr/lib/x86_64-linux-gnu/*nvidia*')) + # Add libnvidia-ml.so.1 which is not listed by nvidia-container-cli, but required to run... + nvidia_files.add('/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1') nvidia_mounts = [] mounted_nvidia_smi_in_path = False