Skip to content

Commit

Permalink
Hardcode the OL version to mitigate the change on Hashicorp repo
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudfroidmont committed Jan 16, 2024
1 parent 5b6dd34 commit fd6ed65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/bastion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if [ $ID == "ol" ] || [ $ID == "centos" ] ; then
sudo ln -s /usr/local/bin/ansible /bin/ansible
fi
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo sed -i 's/$releasever/'"${vid}"'/g' /etc/yum.repos.d/hashicorp.repo
sudo yum install -y terraform
sudo python3 -m pip install -U pip
sudo python3 -m pip install netaddr --upgrade
Expand Down

0 comments on commit fd6ed65

Please sign in to comment.