nvidia-container-toolkit/internal/config
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
..
image
cli.go Use toml representation to get defaults 2023-05-08 11:26:53 +02:00
config_test.go Fix generation of default config 2023-07-05 11:26:04 +02:00
config.go Fix generation of default config 2023-07-05 11:26:04 +02:00
hook.go Fix generation of default config 2023-07-05 11:26:04 +02:00
runtime.go Fix generation of default config 2023-07-05 11:26:04 +02:00
toolkit-cli.go Use toml representation to get defaults 2023-05-08 11:26:53 +02:00