ceph/qa/distros/podman/rhel_8.3_kubic_stable.yaml
Sage Weil 917a9c49e5 qa/distros/podman: preserve registries.conf
Otherwise we'll lose the mirror configuration.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-04-05 13:49:18 -05:00

19 lines
741 B
YAML

os_type: rhel
os_version: "8.3"
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 disable container-tools
- sudo dnf -y install 'dnf-command(copr)'
- sudo dnf -y copr enable rhcontainerbot/container-selinux
- sudo curl -L -o /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_8/devel:kubic:libcontainers:stable.repo
- sudo dnf remove -y podman
- sudo dnf -y install podman
- sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf