Merge pull request #7636 from vrothberg/fix-7407

run/create: record raw image
This commit is contained in:
OpenShift Merge Robot
2020-09-16 09:00:47 +02:00
committed by GitHub
5 changed files with 12 additions and 2 deletions

View File

@@ -41,7 +41,8 @@ function teardown() {
fi
cname=$(random_string)
run_podman create --name $cname --label "io.containers.autoupdate=image" --detach $IMAGE top
# See #7407 for --pull=always.
run_podman create --pull=always --name $cname --label "io.containers.autoupdate=image" --detach $IMAGE top
run_podman generate systemd --new $cname
echo "$output" > "$UNIT_FILE"