ceph/qa/distros/podman/ubuntu_18.04_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

14 lines
688 B
YAML

os_type: ubuntu
os_version: "18.04"
# feel free to remove this test, if Kubic project is no longer maintained.
tasks:
- pexec:
all:
- sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
- curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/Release.key | sudo apt-key add -
- echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
- sudo apt update
- sudo apt -y install podman
- sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf