From 47559a8c874e824ec9aa4f45b39dbcbd95c00f40 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Tue, 9 Aug 2022 11:44:19 +0200 Subject: [PATCH] Output applied config to toolkit container stdout Signed-off-by: Evan Lezar --- tools/container/toolkit/toolkit.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/container/toolkit/toolkit.go b/tools/container/toolkit/toolkit.go index 43b0a095..97b7336e 100644 --- a/tools/container/toolkit/toolkit.go +++ b/tools/container/toolkit/toolkit.go @@ -315,6 +315,10 @@ func installToolkitConfig(toolkitConfigPath string, nvidiaContainerCliExecutable if err != nil { return fmt.Errorf("error writing config: %v", err) } + + os.Stdout.WriteString("Using config:\n") + config.WriteTo(os.Stdout) + return nil }