diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-15 00:18:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-15 00:18:53 +0200 |
commit | 90e3c9002b2293569e0cec168a30ecb962b00034 (patch) | |
tree | 709da03b7768049b8a8f1228e29905a8ce40c635 /pkg/spec | |
parent | cba622b6097959d7659d4cfa05637cce672b87d6 (diff) | |
parent | c866e441d026350a3216f46e36e77278784b6afc (diff) | |
download | podman-90e3c9002b2293569e0cec168a30ecb962b00034.tar.gz podman-90e3c9002b2293569e0cec168a30ecb962b00034.tar.bz2 podman-90e3c9002b2293569e0cec168a30ecb962b00034.zip |
Merge pull request #3328 from mheon/storage_opts_for_cleanup
When creating exit command, pass storage options on
Diffstat (limited to 'pkg/spec')
-rw-r--r-- | pkg/spec/createconfig.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go index ed8036a54..a8413d6c7 100644 --- a/pkg/spec/createconfig.go +++ b/pkg/spec/createconfig.go @@ -162,6 +162,10 @@ func (c *CreateConfig) createExitCommand(runtime *libpod.Runtime) ([]string, err if config.StorageConfig.GraphDriverName != "" { command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...) } + for _, opt := range config.StorageConfig.GraphDriverOptions { + command = append(command, []string{"--storage-opt", opt}...) + } + if c.Syslog { command = append(command, "--syslog", "true") } |