Merge "Comment infra_image in container.conf" into stable/wallaby

This commit is contained in:
Zuul 2023-10-23 14:00:53 +00:00 committed by Gerrit Code Review
commit 7ab5bf89b1

@ -195,6 +195,18 @@ outputs:
when:
- step|int == 1
block: *install_and_configure_podman
- name: Comment infra_image in container.conf
# NOTE (holser): It's enabled in RHEL 8.4 and disabled in RHEL 9.2
# Keeping it enabled removes ability to upgrade in environments
# disconnected from internet.
lineinfile:
dest: /usr/share/containers/containers.conf
regexp: '(?i)^(infra_image.*)'
line: '#\1'
backrefs: true
state: present
when:
- step|int == 1
- name: system_upgrade_prepare step 2
tags:
- never