Add support for Centos 9 Stream

Update elements for c9s

Change-Id: I3f9d08fd4ce038208b8c2d160e6abecae8c8383d
This commit is contained in:
Gregory Thiemonge 2021-11-02 16:39:38 +01:00
parent cbffae6eb6
commit 0a9f3a8e6f
2 changed files with 12 additions and 1 deletions

View File

@ -20,6 +20,17 @@
"vlan": "",
"screen": "",
"dkms": ""
},
"9-stream": {
"debootstrap": "",
"isc-dhcp-client": "dhcp-client",
"python3-dev": "platform-python-devel",
"python3-venv": "",
"python3": "python39",
"vlan": "",
"screen": "",
"dkms": "",
"network-scripts": ""
}
},
"ubuntu": {

View File

@ -3,7 +3,7 @@
set -eu
set -o xtrace
if [ "$DISTRO_NAME" == "centos" ]; then
if [[ "$DISTRO_NAME" == "centos" && "$DIB_RELEASE" == "8" ]]; then
dnf install -y dnf-plugins-core centos-release-nfv-common
# REVISIT(cgoncalves): replace arch if-else + GPG with release RPM once available
if [[ "$ARCH" =~ (aarch64|arm64) ]]; then