ceph/qa/distros/all/ubuntu_20.04_podman.yaml
Sebastian Wagner 0defae4e65 qa/distro/ubuntu_20.04_podman: Avoid getting asked
... for confic changes interactively

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-22 14:58:38 +01:00

13 lines
764 B
YAML

os_type: ubuntu
os_version: "20.04"
# feel free to remove this test, if Kubic project is no longer maintained.
tasks:
- exec:
all:
- curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | sudo apt-key add -
- echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
- sudo apt update
- sudo apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install podman
- 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