mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
run, create: add --passwd-entry
It allows to customize the entry that is written to the `/etc/passwd` file when --passwd is used. Closes: https://github.com/containers/podman/issues/13185 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -404,6 +404,8 @@ type ContainerMiscConfig struct {
|
||||
// InitContainerType specifies if the container is an initcontainer
|
||||
// and if so, what type: always or once are possible non-nil entries
|
||||
InitContainerType string `json:"init_container_type,omitempty"`
|
||||
// PasswdEntry specifies arbitrary data to append to a file.
|
||||
PasswdEntry string `json:"passwd_entry,omitempty"`
|
||||
}
|
||||
|
||||
// InfraInherit contains the compatible options inheritable from the infra container
|
||||
|
Reference in New Issue
Block a user