qa/distros: bump container-hosts from centos 8 to 9

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2023-10-09 17:22:10 -04:00
parent e7ccff5930
commit bac9e74abf
7 changed files with 34 additions and 3 deletions

View File

@ -0,0 +1,14 @@
os_type: centos
os_version: "9.stream"
overrides:
selinux:
whitelist:
- scontext=system_u:system_r:logrotate_t:s0
tasks:
- pexec:
all:
- sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
- sudo dnf -y module reset container-tools
- sudo dnf -y module install container-tools --allowerasing --nobest
- sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf

View File

@ -0,0 +1,16 @@
os_type: centos
os_version: "9.stream"
overrides:
selinux:
whitelist:
- scontext=system_u:system_r:logrotate_t:s0
tasks:
- pexec:
all:
- sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
- sudo dnf -y module reset container-tools
- sudo dnf -y module install container-tools --allowerasing --nobest
- sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
- sudo sed -i 's/runtime = "runc"/#runtime = "runc"/g' /usr/share/containers/containers.conf
- sudo sed -i 's/#runtime = "crun"/runtime = "crun"/g' /usr/share/containers/containers.conf

View File

@ -1 +1 @@
container-hosts/centos_8.stream_container_tools_crun.yaml
container-hosts/centos_9.stream_container_tools_crun.yaml

View File

@ -0,0 +1 @@
../.qa

View File

@ -1 +0,0 @@
../.qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml

View File

@ -0,0 +1 @@
.qa/distros/container-hosts/centos_9.stream_container_tools_crun.yaml