Commit 90bd4b83 authored by Martin Peres's avatar Martin Peres
Browse files

initscript: force-pull container images

By setting the pull policy to `always`, we make sure the image is up to
date, before executing it.
parent f8d1869c
......@@ -296,7 +296,7 @@ function create_container {
# the hammer!
for i in 0 1 2 3 4; do
# Set up the wanted container
container_id=`eval "podman create --rm --privileged --network=host --runtime /bin/crun-no-pivot $@"` \
container_id=`eval "podman create --rm --privileged --pull=always --network=host --runtime /bin/crun-no-pivot $@"` \
&& podman init "$container_id" && return 0
# The command failed... Ignore the first 3 times, as we want to check it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment