fix terraform installation on fedora39 - develop

This commit is contained in:
Teja Swaroop Pothala
2024-12-17 01:15:14 +05:30
parent 95b8c34a91
commit 8bfed3e7f2

View File

@ -16,6 +16,8 @@ if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|rhel9|almalinux9|
fi
elif [[ "${DISTRO}" == @(fedora39|fedora40) ]]; then
dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
# use fedora40 hashicorp packages for terraform
sed -i 's/$releasever/40/g' /etc/yum.repos.d/hashicorp.repo
dnf install -y terraform
if [ -z ${SKIP_CLEAN+x} ]; then
dnf clean all