summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/intermediate.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-10-07 14:02:54 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-10-09 23:39:18 +0200
commit5963077e93937046b6b13d6f1da8c1f932c0e6ff (patch)
tree9666910e2f6d3c25dcafe0f8dbb35f01027e36db /cmd/podman/shared/intermediate.go
parent3ba3e1c7510d1780b6527a4aa52e40ac2c5b576a (diff)
downloadpodman-5963077e93937046b6b13d6f1da8c1f932c0e6ff.tar.gz
podman-5963077e93937046b6b13d6f1da8c1f932c0e6ff.tar.bz2
podman-5963077e93937046b6b13d6f1da8c1f932c0e6ff.zip
cli: support --systemd=always
it enforces the systemd mode also when the command name doesn't match /usr/sbin/init or systemd. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/shared/intermediate.go')
-rw-r--r--cmd/podman/shared/intermediate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/shared/intermediate.go b/cmd/podman/shared/intermediate.go
index cccdd1bea..0f71dc087 100644
--- a/cmd/podman/shared/intermediate.go
+++ b/cmd/podman/shared/intermediate.go
@@ -449,7 +449,7 @@ func NewIntermediateLayer(c *cliconfig.PodmanCommand, remote bool) GenericCLIRes
m["subgidname"] = newCRString(c, "subgidname")
m["subuidname"] = newCRString(c, "subuidname")
m["sysctl"] = newCRStringSlice(c, "sysctl")
- m["systemd"] = newCRBool(c, "systemd")
+ m["systemd"] = newCRString(c, "systemd")
m["tmpfs"] = newCRStringArray(c, "tmpfs")
m["tty"] = newCRBool(c, "tty")
m["uidmap"] = newCRStringSlice(c, "uidmap")