ceph/qa/distros/container-hosts/centos_8.stream_container_tools_crun.yaml
Sage Weil f28f32dbc0 qa/distros/container-hosts: add 8.stream + crun
Signed-off-by: Sage Weil <sage@newdream.net>
2021-11-16 09:58:32 -06:00

17 lines
614 B
YAML

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
- 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