nvidia-container-toolkit/internal
Evan Lezar 4ec9bd751e Add required option to new toml config
This change adds a "required" option to the new toml config
that controls whether a default config is returned or not.
This is useful from the NVIDIA Container Runtime Hook, where
/run/driver/nvidia/etc/nvidia-container-runtime/config.toml
is checked before the standard path.

This fixes a bug where the default config was always applied
when this config was not used.

See https://github.com/NVIDIA/nvidia-container-toolkit/issues/106

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-09-07 11:56:01 +02:00
..
config Add required option to new toml config 2023-09-07 11:56:01 +02:00
cuda
discover Move tegra-specifics to new package 2023-08-04 16:49:30 +02:00
dxcore Deduplicate WSL driverstore paths 2023-02-21 11:48:56 +02:00
edits Define a basic logger interface 2023-06-12 10:46:10 +02:00
info Add UsesNVGPUModule info function 2023-08-25 11:24:34 +02:00
ldcache Define a basic logger interface 2023-06-12 10:46:10 +02:00
logger Replace logger.Warn(f) with logger.Warning(f) 2023-06-12 10:48:04 +02:00
lookup Use functional options when constructing direcory locator 2023-07-18 15:36:03 +02:00
modifier add a warning statement listing unresolved CDI devices 2023-08-10 08:38:33 -07:00
nvcaps
oci Define a basic logger interface 2023-06-12 10:46:10 +02:00
platform-support/tegra Remove /sys/devices/soc0/family from CDI spec 2023-08-25 10:25:33 +02:00
requirements Define a basic logger interface 2023-06-12 10:46:10 +02:00
runtime Pass image when constructing CSV modifier 2023-07-18 15:27:16 +02:00
system Split internal system package 2023-06-15 09:01:13 +02:00
test