diskimage-builder/tests/install_test_deps.sh
Alfredo Moralejo cdff9045c0 Add support for CentOS Stream 9 in DIB
CentOS Stream 9 is close to be released, and official mirrors are
already poplated. This patch is adding support to centos-minimal in CS9.

Also enable centos-minimal/[8,9]-stream-build-succeeds tests.

This patch is being tested together with [1] to apply following list of elements:

 vm centos-minimal simple-init growroot nodepool-base openstack-repos infra-package-needs

[1] https://review.opendev.org/c/openstack/project-config/+/811442

Change-Id: Iecf7f7e4c992bb23437b6461cdd04cdca96aafa6
2021-10-27 13:38:14 +02:00

26 lines
555 B
Bash
Executable File

#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y --force-yes \
docker.io || \
sudo yum -y install --enablerepo=epel \
yum-utils \
debootstrap \
dpkg \
docker || \
sudo zypper -n install \
docker || \
sudo emerge \
app-arch/bzip2 \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-apps/gptfdisk \
sys-fs/multipath-tools \
sys-fs/dosfstools \
qemu-img \
yum-utils