From 50240c93bd097d8c052834022ec239ac92a897b0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 1 Jun 2022 14:48:52 +0200 Subject: [PATCH] Update config files with options and defaults Signed-off-by: Evan Lezar --- config/config.toml.amazonlinux | 15 ++++++++++++++- config/config.toml.centos | 15 ++++++++++++++- config/config.toml.debian | 15 ++++++++++++++- config/config.toml.opensuse-leap | 15 ++++++++++++++- config/config.toml.ubuntu | 8 +++++++- 5 files changed, 63 insertions(+), 5 deletions(-) diff --git a/config/config.toml.amazonlinux b/config/config.toml.amazonlinux index 7670e821..225ec450 100644 --- a/config/config.toml.amazonlinux +++ b/config/config.toml.amazonlinux @@ -16,4 +16,17 @@ ldconfig = "@/sbin/ldconfig" [nvidia-container-runtime] #debug = "/var/log/nvidia-container-runtime.log" -#experimental = false +log-level = "info" + +# Specify the runtimes to consider. This list is processed in order and the PATH +# searched for matching executables unless the entry is an absolute path. +runtimes = [ + "docker-runc", + "runc", +] + +mode = "auto" + + [nvidia-container-runtime.modes.csv] + + mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d" diff --git a/config/config.toml.centos b/config/config.toml.centos index 7670e821..225ec450 100644 --- a/config/config.toml.centos +++ b/config/config.toml.centos @@ -16,4 +16,17 @@ ldconfig = "@/sbin/ldconfig" [nvidia-container-runtime] #debug = "/var/log/nvidia-container-runtime.log" -#experimental = false +log-level = "info" + +# Specify the runtimes to consider. This list is processed in order and the PATH +# searched for matching executables unless the entry is an absolute path. +runtimes = [ + "docker-runc", + "runc", +] + +mode = "auto" + + [nvidia-container-runtime.modes.csv] + + mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d" diff --git a/config/config.toml.debian b/config/config.toml.debian index 7670e821..225ec450 100644 --- a/config/config.toml.debian +++ b/config/config.toml.debian @@ -16,4 +16,17 @@ ldconfig = "@/sbin/ldconfig" [nvidia-container-runtime] #debug = "/var/log/nvidia-container-runtime.log" -#experimental = false +log-level = "info" + +# Specify the runtimes to consider. This list is processed in order and the PATH +# searched for matching executables unless the entry is an absolute path. +runtimes = [ + "docker-runc", + "runc", +] + +mode = "auto" + + [nvidia-container-runtime.modes.csv] + + mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d" diff --git a/config/config.toml.opensuse-leap b/config/config.toml.opensuse-leap index 1e9a5077..e99585d3 100644 --- a/config/config.toml.opensuse-leap +++ b/config/config.toml.opensuse-leap @@ -16,4 +16,17 @@ ldconfig = "@/sbin/ldconfig" [nvidia-container-runtime] #debug = "/var/log/nvidia-container-runtime.log" -#experimental = false +log-level = "info" + +# Specify the runtimes to consider. This list is processed in order and the PATH +# searched for matching executables unless the entry is an absolute path. +runtimes = [ + "docker-runc", + "runc", +] + +mode = "auto" + + [nvidia-container-runtime.modes.csv] + + mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d" diff --git a/config/config.toml.ubuntu b/config/config.toml.ubuntu index 6c295ff7..e9515fd2 100644 --- a/config/config.toml.ubuntu +++ b/config/config.toml.ubuntu @@ -16,7 +16,7 @@ ldconfig = "@/sbin/ldconfig.real" [nvidia-container-runtime] #debug = "/var/log/nvidia-container-runtime.log" -#experimental = false +log-level = "info" # Specify the runtimes to consider. This list is processed in order and the PATH # searched for matching executables unless the entry is an absolute path. @@ -24,3 +24,9 @@ runtimes = [ "docker-runc", "runc", ] + +mode = "auto" + + [nvidia-container-runtime.modes.csv] + + mount-spec-path = "/etc/nvidia-container-runtime/host-files-for-container.d"