diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-05-05 22:51:23 +0200 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2021-05-10 12:01:24 +0200 |
commit | 77e6ae24369e6c7bed85141ae6f7d0c7b0e26c0b (patch) | |
tree | 99c84def2231d9baad798e298fdf79feba0b7c49 /pkg/systemd/dbus.go | |
parent | 54bed1025d07bc5f77ee4e1e7f942157e211ec0a (diff) | |
download | podman-77e6ae24369e6c7bed85141ae6f7d0c7b0e26c0b.tar.gz podman-77e6ae24369e6c7bed85141ae6f7d0c7b0e26c0b.tar.bz2 podman-77e6ae24369e6c7bed85141ae6f7d0c7b0e26c0b.zip |
Add envars to the generated systemd unit
The with --new generated systemd unit loses the environment variables
when the create command only contains the key without the value. Since
podman tries to lookup those values from the environment the unit can
fail.
This commits ensures that we will add the environment variables to the
unit file when this is the case. The container environment variables are
looked up in the container spec.
Fixes #10101
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'pkg/systemd/dbus.go')
0 files changed, 0 insertions, 0 deletions