Skip to content

Commit 83b4d05

Browse files
Call nvidia-ctk cdi generate on apply-exit hook
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent f04311e commit 83b4d05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deployments/systemd/hooks-default.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ hooks:
1616
- workdir: "/etc/nvidia-mig-manager"
1717
command: "/bin/bash"
1818
args: ["-x", "-c", "source hooks.sh; apply-exit"]
19+
- workdir: "/etc/nvidia-mig-manager"
20+
command: "/bin/bash"
21+
args: ["-x", "-c", "nvidia-ctk cdi generate --output=/var/run/cdi/nvidia.yaml"]

0 commit comments

Comments
 (0)