nvidia-container-toolkit/internal
Evan Lezar 65ae6f1dab Fix generation of default config
This change ensures that the nvidia-ctk config default command
generates a config file that is compatible with the official documentation
to, for example, disable cgroups in the NVIDIA Container CLI.

This requires that whitespace around comments is stripped before outputing the
contets.

This also adds an option to load a config and modify it in-place instead. This can
be triggered as a post-install step, for example.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-07-05 11:26:04 +02:00
..
config Fix generation of default config 2023-07-05 11:26:04 +02:00
cuda Add CUDA ComputeCapability function 2022-05-05 14:09:28 +02:00
discover Replace logger.Warn(f) with logger.Warning(f) 2023-06-12 10:48:04 +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 Resolve auto mode as cdi for fully-qualified names 2023-06-13 16:05:37 +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 Replace logger.Warn(f) with logger.Warning(f) 2023-06-12 10:48:04 +02:00
modifier Construct CUDA image object once 2023-06-13 10:36:02 +02:00
nvcaps Correct constructin of MIG Caps 2022-10-13 14:06:30 +02:00
oci Define a basic logger interface 2023-06-12 10:46:10 +02:00
requirements Define a basic logger interface 2023-06-12 10:46:10 +02:00
runtime Resolve auto mode as cdi for fully-qualified names 2023-06-13 16:05:37 +02:00
system Split internal system package 2023-06-15 09:01:13 +02:00
test Add test package with GetModuleRoot and PrependToPath function 2022-03-29 11:05:41 +02:00