aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-09-27 18:11:35 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-09-28 13:40:27 +0200
commitd0950f3efe2559049abbf45700309345c12a142f (patch)
treeee9c3aee661f94fbbf9b74af19a455084b96e8b1 /pkg/specgen
parent05614ee139b9d5ce6d2daed50d9f0b3ed6d4e9a1 (diff)
downloadpodman-d0950f3efe2559049abbf45700309345c12a142f.tar.gz
podman-d0950f3efe2559049abbf45700309345c12a142f.tar.bz2
podman-d0950f3efe2559049abbf45700309345c12a142f.zip
set --cni-config-dir for exit command
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/specgen')
-rw-r--r--pkg/specgen/generate/container_create.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index fefa9b4a9..b6263332e 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -498,6 +498,7 @@ func CreateExitCommandArgs(storageConfig types.StoreOptions, config *config.Conf
"--log-level", logrus.GetLevel().String(),
"--cgroup-manager", config.Engine.CgroupManager,
"--tmpdir", config.Engine.TmpDir,
+ "--cni-config-dir", config.Network.NetworkConfigDir,
}
if config.Engine.OCIRuntime != "" {
command = append(command, []string{"--runtime", config.Engine.OCIRuntime}...)