diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-09-27 18:11:35 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-09-28 13:40:27 +0200 |
commit | d0950f3efe2559049abbf45700309345c12a142f (patch) | |
tree | ee9c3aee661f94fbbf9b74af19a455084b96e8b1 /pkg/specgen/generate | |
parent | 05614ee139b9d5ce6d2daed50d9f0b3ed6d4e9a1 (diff) | |
download | podman-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/generate')
-rw-r--r-- | pkg/specgen/generate/container_create.go | 1 |
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}...) |