From 8bfed3e7f2e087671f8125c737cbda0f88d27541 Mon Sep 17 00:00:00 2001 From: Teja Swaroop Pothala Date: Tue, 17 Dec 2024 01:15:14 +0530 Subject: [PATCH] fix terraform installation on fedora39 - develop --- src/oracle/install/terraform/install_terraform.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/oracle/install/terraform/install_terraform.sh b/src/oracle/install/terraform/install_terraform.sh index 151e38b..aaf0147 100644 --- a/src/oracle/install/terraform/install_terraform.sh +++ b/src/oracle/install/terraform/install_terraform.sh @@ -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