mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
Add generate systemd -e/--env option
-e/--env option sets environment variables to the systemd unit files. Fixes: #15523 Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
This commit is contained in:
@@ -93,6 +93,13 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error {
|
||||
// type: string
|
||||
// default: []
|
||||
// description: Systemd Requires list for the container or pods.
|
||||
// - in: query
|
||||
// name: additionalEnvVariables
|
||||
// type: array
|
||||
// items:
|
||||
// type: string
|
||||
// default: []
|
||||
// description: Set environment variables to the systemd unit files.
|
||||
// produces:
|
||||
// - application/json
|
||||
// responses:
|
||||
|
||||
Reference in New Issue
Block a user