Merge branch 'bugfix/KASM-6771-fix_terraform_installation_on_fedora_38_39-1.16.0' into 'release/1.16.0'

fix terraform installation on fedora39 - 1.16.0

See merge request kasm-technologies/internal/workspaces-images!223
This commit is contained in:
Richard Koliser 2024-12-19 05:35:47 +00:00
commit 2502abb5f3

View File

@ -16,6 +16,8 @@ if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almali
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