Skip to content

Commit

Permalink
Merge pull request #707 from elezar/align-container-driver-root-args
Browse files Browse the repository at this point in the history
Align container driver root envvars
  • Loading branch information
elezar authored May 16, 2024
2 parents 4720121 + 21d2477 commit 90e08b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/nvidia-device-plugin/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ func main() {
EnvVars: []string{"NVIDIA_CTK_PATH"},
},
&cli.StringFlag{
Name: "container-driver-root",
Name: "driver-root-ctr-path",
Aliases: []string{"container-driver-root"},
Value: spec.DefaultContainerDriverRoot,
Usage: "the path where the NVIDIA driver root is mounted in the container; used for generating CDI specifications",
EnvVars: []string{"CONTAINER_DRIVER_ROOT"},
EnvVars: []string{"DRIVER_ROOT_CTR_PATH", "CONTAINER_DRIVER_ROOT"},
},
&cli.StringFlag{
Name: "mps-root",
Expand Down

0 comments on commit 90e08b7

Please sign in to comment.