diff --git a/oci-nvidia-hook.json b/oci-nvidia-hook.json index 5c79b6d0..01e895e8 100644 --- a/oci-nvidia-hook.json +++ b/oci-nvidia-hook.json @@ -1,15 +1,13 @@ { - "version": "1.0.0", - "hook": { - "path": "/usr/bin/nvidia-container-toolkit", - "args": ["nvidia-container-toolkit", "prestart"], - "env": [ - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" - ] - }, - "when": { - "always": true, - "commands": [".*"] - }, - "stages": ["prestart"] + "version": "1.0.0", + "hook": { + "path": "/usr/bin/nvidia-container-toolkit", + "args": ["nvidia-container-toolkit", "prestart"], + "env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"] + }, + "when": { + "always": true, + "commands": [".*"] + }, + "stages": ["prestart"] }