summaryrefslogtreecommitdiff
path: root/pkg/specgenutil
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-04-23 07:05:59 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-04-23 08:03:36 -0400
commit13079abe3f7998f01d1b2e30dae3660cfb5a98c8 (patch)
treecc8c0c15b5d09358f4beb9e2c4bc6389604ecca3 /pkg/specgenutil
parentf65f3320e1124c94db053c1f811487920ae2a70e (diff)
downloadpodman-13079abe3f7998f01d1b2e30dae3660cfb5a98c8.tar.gz
podman-13079abe3f7998f01d1b2e30dae3660cfb5a98c8.tar.bz2
podman-13079abe3f7998f01d1b2e30dae3660cfb5a98c8.zip
Add support for passing --volumepath
Fixes: https://github.com/containers/podman/issues/13860 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/specgenutil')
-rw-r--r--pkg/specgenutil/util.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/specgenutil/util.go b/pkg/specgenutil/util.go
index 80d31398b..fa2e90457 100644
--- a/pkg/specgenutil/util.go
+++ b/pkg/specgenutil/util.go
@@ -281,6 +281,7 @@ func CreateExitCommandArgs(storageConfig storageTypes.StoreOptions, config *conf
"--tmpdir", config.Engine.TmpDir,
"--network-config-dir", config.Network.NetworkConfigDir,
"--network-backend", config.Network.NetworkBackend,
+ "--volumepath", config.Engine.VolumePath,
}
if config.Engine.OCIRuntime != "" {
command = append(command, []string{"--runtime", config.Engine.OCIRuntime}...)