Explicitly define infra_image in containers.conf

Currently in /usr/share/containers/containers.conf,
under engine,
infra_image = "registry.access.redhat.com/ubi9/pause" is set
by default but, ubi9/pause container image does not exists.

This patch sets infra_image and sets ubi8/pause as a
default for infra_image till it gets available.

Closes-Bug: #1950279

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I2048de62700ae46896a77b4fd59f272032ef719c
This commit is contained in:
Chandan Kumar (raukadah) 2021-11-09 18:39:06 +05:30 committed by chandan kumar
parent d132fcd56c
commit 46a09438e1
2 changed files with 4 additions and 0 deletions

View File

@ -80,3 +80,4 @@ tripleo_podman_registries: []
tripleo_container_default_pids_limit: 4096
tripleo_container_events_logger_mechanism: journald
tripleo_container_default_runtime: runc
tripleo_container_default_infra_image: "registry.access.redhat.com/ubi8/pause"

View File

@ -94,6 +94,9 @@
- section: engine
option: runtime
value: "\"{{ tripleo_container_default_runtime }}\""
- section: engine
option: infra_image
value: "\"{{ tripleo_container_default_infra_image }}\""
- name: Enable podman.socket service
when: