quadlet: Drop --pull=never
This is to match podman run default behaviour. Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
parent
098ad52ecb
commit
b34ab8b5fa
|
|
@ -253,9 +253,7 @@ func ConvertContainer(container *parser.UnitFile, isUser bool) (*parser.UnitFile
|
|||
|
||||
// But we still want output to the journal, so use the log driver.
|
||||
"--log-driver", "passthrough",
|
||||
|
||||
// Never try to pull the image during service start
|
||||
"--pull=never")
|
||||
)
|
||||
|
||||
// We use crun as the runtime and delegated groups to it
|
||||
service.Add(ServiceGroup, "Delegate", "yes")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
## assert-podman-final-args run --name=systemd-%N --cidfile=%t/%N.cid --replace --rm -d --log-driver passthrough --pull=never --runtime /usr/bin/crun --cgroups=split --sdnotify=conmon localhost/imagename
|
||||
## assert-podman-final-args run --name=systemd-%N --cidfile=%t/%N.cid --replace --rm -d --log-driver passthrough --runtime /usr/bin/crun --cgroups=split --sdnotify=conmon localhost/imagename
|
||||
|
||||
[Container]
|
||||
Image=localhost/imagename
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
## assert-podman-args "--replace"
|
||||
## assert-podman-args "-d"
|
||||
## assert-podman-args "--log-driver" "passthrough"
|
||||
## assert-podman-args "--pull=never"
|
||||
## assert-podman-args "--runtime" "/usr/bin/crun"
|
||||
## assert-podman-args "--cgroups=split"
|
||||
## assert-podman-args "--sdnotify=conmon"
|
||||
|
|
|
|||
Loading…
Reference in New Issue