Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 83353bb8 authored by Nicolas Perrin's avatar Nicolas Perrin
Browse files

[g5k-setup-nvidia-docker] Remove nvidia-container-runtime config for Debian 11 host

parent ba3db175
Branches
Tags v0.2.14
No related merge requests found
Pipeline #338969 passed
......@@ -38,10 +38,6 @@ def main
end
end
ret &= sh('sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit').first
# Workaround if Debian 11 host (cf. Bug #13532)
if distrib_codename == 'bullseye'
ret &= sh('sudo sed -i \'s|^#ldconfig.*|ldconfig = "/sbin/ldconfig"|\' /etc/nvidia-container-runtime/config.toml').first
end
ret &= sh('sudo systemctl restart docker').first
ret &= sh('sudo chmod o+rw /var/run/docker.sock').first if !options[:install]
ret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment