e4b6a2faef
This patch adds support for CentOS 8 Stream [1] to the centos element (cloud image). Users should set DIB_RELEASE=8-stream. [1] https://www.centos.org/stream/ Change-Id: Ib8f542031c46326ffed812fa60cbc9e56db9d6fd
7 lines
128 B
Bash
7 lines
128 B
Bash
# since CentOS 8, dnf is the yum replacement.
|
|
|
|
if [[ $DIB_RELEASE == "7" ]]; then
|
|
export YUM=yum
|
|
else
|
|
export YUM=dnf
|
|
fi
|