spiegel_podman/pkg/systemd/quadlet
umut-polat 7f37fbd6af
quadlet: allow empty Entrypoint to clear image default
Setting Entrypoint= (empty value) in a quadlet .container file should
produce --entrypoint "" in the generated podman command, which clears
the image's default entrypoint. Previously this was silently ignored
because lookupAndAddString skips empty values.

Move the Entrypoint key out of the generic stringKeys map and handle
it separately so that an empty value is passed through.

Closes #28213

Signed-off-by: umut-polat <52835619+umut-polat@users.noreply.github.com>
(cherry picked from commit 926f562bd5)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-09 13:41:52 +02:00
..
podmancmdline.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
quadlet.go quadlet: allow empty Entrypoint to clear image default 2026-04-09 13:41:52 +02:00
quadlet_common.go Add artifact quadlet unit type support 2025-10-10 11:08:33 -03:00
unitdirs.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
unitdirs_test.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00