diff options
Diffstat (limited to 'qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml')
-rw-r--r-- | qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml b/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml new file mode 100644 index 000000000..b06e1c87d --- /dev/null +++ b/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml @@ -0,0 +1,16 @@ +os_type: centos +os_version: "8.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 |