]> git.proxmox.com Git - ceph.git/blob - ceph/qa/distros/podman/centos_8.2_kubic_stable.yaml
import ceph 15.2.14
[ceph.git] / ceph / qa / distros / podman / centos_8.2_kubic_stable.yaml
1 os_type: centos
2 os_version: "8.2"
3 overrides:
4 selinux:
5 whitelist:
6 - scontext=system_u:system_r:logrotate_t:s0
7
8 tasks:
9 - exec:
10 all:
11 - echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
12 - sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
13 - sudo dnf -y module disable container-tools
14 - sudo dnf -y install 'dnf-command(copr)'
15 - sudo dnf -y copr enable rhcontainerbot/container-selinux
16 - 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
17 - sudo dnf remove -y podman
18 - sudo dnf -y install podman
19 - sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf