summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-22 12:09:56 +0100
committerGitHub <noreply@github.com>2021-12-22 12:09:56 +0100
commit85f21fb2bd39d76300ab61a1fb1207405e05f9d2 (patch)
tree342fb99e4c547e9818805bad80b8ccf58427c340 /pkg/specgen/generate
parentd2fcfef8b07532dc7418079160f0d6b989143c25 (diff)
parent20ce6e5c6031bd4180514ec412760a294f8a83a2 (diff)
downloadpodman-85f21fb2bd39d76300ab61a1fb1207405e05f9d2.tar.gz
podman-85f21fb2bd39d76300ab61a1fb1207405e05f9d2.tar.bz2
podman-85f21fb2bd39d76300ab61a1fb1207405e05f9d2.zip
Merge pull request #12664 from cdoern/noManagePasswd
Podman run --passwd
Diffstat (limited to 'pkg/specgen/generate')
-rw-r--r--pkg/specgen/generate/container_create.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index 577a67bbe..1debf6c0e 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -489,5 +489,8 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen.
if s.PidFile != "" {
options = append(options, libpod.WithPidFile(s.PidFile))
}
+
+ options = append(options, libpod.WithSelectedPasswordManagement(s.Passwd))
+
return options, nil
}