summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-03-28 16:26:31 +0200
committerPaul Holzinger <paul.holzinger@web.de>2021-03-28 20:01:17 +0200
commitaabafc5b1b55b560c6444b15a7c18a3fa65993d9 (patch)
tree07a20c878d2f1cc3cc27cb0b268e5615ec070b8b /test
parent7e4b13b94699ee688c146afab727d2dec991376a (diff)
downloadpodman-aabafc5b1b55b560c6444b15a7c18a3fa65993d9.tar.gz
podman-aabafc5b1b55b560c6444b15a7c18a3fa65993d9.tar.bz2
podman-aabafc5b1b55b560c6444b15a7c18a3fa65993d9.zip
podman generate systemd --new do not duplicate params
podman generate systemd --new inserts extra idfile arguments. The generated unit can break when the user did provide their own idfile arguments as they overwrite the arguments added by generate systemd. This also happens when a user tries to generate the systemd unit on a container already create with a --new unit. This should now create a identical unit. The solution is to remove all user provided idfile arguments. This commit also ensures that we do not remove arguments that are part off the containers entrypoint. Fixes #9776 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions