Skip to content

Commit

Permalink
docker: fix nvidia condition
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Feb 10, 2024
1 parent bb2b4e6 commit 6858f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/docker/templates/override.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ Requires={{ docker_service_after }}
[Service]
{% if gpu.nvidia %}
ExecStartPre=/usr/bin/nvidia-ctk system create-dev-char-symlinks --create-all --load-kernel-modules --create-device-nodes
{% else %}
ExecStartPre=/bin/sleep {{ docker_service_sleep }}
{% endif %}
ExecStartPre=/bin/sleep {{ docker_service_sleep }}

0 comments on commit 6858f3c

Please sign in to comment.