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

fix terraform installation on fedora 37,38,39 - 1.15.0

See merge request kasm-technologies/internal/workspaces-images!224
This commit is contained in:
Richard Koliser 2024-12-19 05:25:10 +00:00
commit 3fab296616

View File

@ -16,6 +16,8 @@ if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almali
fi
elif [[ "${DISTRO}" == @(fedora37|fedora38|fedora39) ]]; 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