distro/rhel84: add centos 8 stream support

The image definition is shared with the latest RHEL 8.y one (8.4 currently).
I expect that we the introduction of 8.5 support, we point the centos 8
distro at it.

The test repositories and manifests use the official CentOS composes. From
what I can tell, they are persistent. This is not guaranteed though, so we
might need to switch to RPMRepo at some point.

The "classic" CentOS 8 should also be buildable but due to the chicken and egg
issue (this commit will get into Centos "8.4" but Centos "8.4" isn't a thing
yet), we cannot test it and therefore it might be broken.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-02-12 12:38:59 +01:00 committed by Tom Gundersen
parent 6feba70758
commit 5eb402415d
26 changed files with 76009 additions and 114 deletions

View file

@ -25,7 +25,7 @@ else
fi
greenprint "Adding podman dnsname plugin"
if [[ $ID == rhel ]]; then
if [[ $ID == rhel || $ID == centos ]]; then
sudo cp /usr/share/tests/osbuild-composer/vendor/87-podman-bridge.conflist /etc/cni/net.d/
sudo cp /usr/share/tests/osbuild-composer/vendor/dnsname /usr/libexec/cni/
fi