We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6acb52d + 1f5ce73 commit 754cfa7Copy full SHA for 754cfa7
deployments/systemd/nvidia-cdi-refresh.service
@@ -23,7 +23,7 @@ Type=oneshot
23
# Values from Environment will be replaced if defined in EnvironmentFile
24
Environment=NVIDIA_CTK_CDI_OUTPUT_FILE_PATH=/var/run/cdi/nvidia.yaml
25
EnvironmentFile=-/etc/nvidia-container-toolkit/nvidia-cdi-refresh.env
26
-ExecCondition=/usr/bin/grep -qE '/nvidia.ko' /lib/modules/%v/modules.dep
+ExecCondition=/usr/bin/grep -qE '/(nvidia|nvidia-current)\.ko[:]' /lib/modules/%v/modules.dep
27
ExecStart=/usr/bin/nvidia-ctk cdi generate
28
CapabilityBoundingSet=CAP_SYS_MODULE CAP_SYS_ADMIN CAP_MKNOD
29
0 commit comments