nvidia-container-toolkit/tools/container/toolkit
Evan Lezar cc4c2783a3 Add --create-device-nodes option to toolkit config
This change adds a --create-device-nodes option to the toolkit config CLI.
Most noteably, this allows the creation of control devices to be skipped
when CDI spec generation is enabled.

Currently values of "", "node", and "control" are supported and can be set
via the command line flag or the CREATE_DEVICE_NODES environment variable.

The default value of CREATE_DEVICE_NODES=control will trigger the creation
of control device nodes. Setting this envvar to include the (comma-separated)
strings of "" or "none" will disable device node creation regardless of
whether other supported strings are included.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-02-13 12:37:41 +01:00
..
executable_test.go Copy cmd from container-config 2021-10-22 11:57:51 +02:00
executable.go Copy cmd from container-config 2021-10-22 11:57:51 +02:00
replacements.go Copy cmd from container-config 2021-10-22 11:57:51 +02:00
runtime_test.go Remove NVIDIA experimental runtime from toolkit container 2023-07-10 11:44:55 +02:00
runtime.go Fix misspellings 2023-10-24 20:00:24 +02:00
toolkit.go Add --create-device-nodes option to toolkit config 2024-02-13 12:37:41 +01:00