quadlet: Warn in generator if using short names

These are both slow (trigger loading alias files) and risky (its not
clear which image you mean).

Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
Alexander Larsson
2022-10-19 14:49:38 +02:00
parent fa19f57ebe
commit 7ec743fe74
29 changed files with 150 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
## assert-podman-final-args imagename
## assert-podman-final-args localhost/imagename
## assert-podman-args "--name=systemd-%N"
## assert-podman-args "--cidfile=%t/%N.cid"
## assert-podman-args "--rm"
@@ -25,4 +25,4 @@
## assert-key-is "Service" "Environment" "PODMAN_SYSTEMD_UNIT=%n"
[Container]
Image=imagename
Image=localhost/imagename