Add comments
This commit is contained in:
parent
3333dfabba
commit
88b67cad1f
3
jlmkr.py
3
jlmkr.py
|
@ -213,7 +213,8 @@ def start_jail(jail_name):
|
||||||
if os.path.exists(file_path) and not os.path.islink(file_path):
|
if os.path.exists(file_path) and not os.path.islink(file_path):
|
||||||
nvidia_files.add(file_path)
|
nvidia_files.add(file_path)
|
||||||
|
|
||||||
# Also make nvidia-smi available inside the path
|
# Also make nvidia-smi available inside the path,
|
||||||
|
# once mounted the symlink will be resolved and nvidia-smi will appear as a regular file
|
||||||
nvidia_files.add('/usr/bin/nvidia-smi')
|
nvidia_files.add('/usr/bin/nvidia-smi')
|
||||||
|
|
||||||
nvidia_mounts = []
|
nvidia_mounts = []
|
||||||
|
|
Loading…
Reference in New Issue