summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-07 19:21:46 +0100
committerGitHub <noreply@github.com>2019-02-07 19:21:46 +0100
commite39a7dc6ac4a2c76e71458bf91153e189971418d (patch)
tree6f8300c4e7442fae155a381101e79bde01235ceb
parenta6196acdfe2d399d859a8b11f54408da1dc7be62 (diff)
parent1a8391b914f3392d44b01554e5df862396e628bc (diff)
downloadpodman-e39a7dc6ac4a2c76e71458bf91153e189971418d.tar.gz
podman-e39a7dc6ac4a2c76e71458bf91153e189971418d.tar.bz2
podman-e39a7dc6ac4a2c76e71458bf91153e189971418d.zip
Merge pull request #2290 from giuseppe/cleanup-use-correct-runtime
cleanup: use the correct runtime
-rw-r--r--pkg/spec/createconfig.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go
index 344f4afb9..f6c77d61c 100644
--- a/pkg/spec/createconfig.go
+++ b/pkg/spec/createconfig.go
@@ -331,6 +331,9 @@ func (c *CreateConfig) createExitCommand() []string {
"--cgroup-manager", config.CgroupManager,
"--tmpdir", config.TmpDir,
}
+ if config.OCIRuntime != "" {
+ command = append(command, []string{"--runtime", config.OCIRuntime}...)
+ }
if config.StorageConfig.GraphDriverName != "" {
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
}