Skip to content

Commit fd6ed65

Browse files
Hardcode the OL version to mitigate the change on Hashicorp repo
1 parent 5b6dd34 commit fd6ed65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/bastion.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ if [ $ID == "ol" ] || [ $ID == "centos" ] ; then
4545
sudo ln -s /usr/local/bin/ansible /bin/ansible
4646
fi
4747
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
48+
sudo sed -i 's/$releasever/'"${vid}"'/g' /etc/yum.repos.d/hashicorp.repo
4849
sudo yum install -y terraform
4950
sudo python3 -m pip install -U pip
5051
sudo python3 -m pip install netaddr --upgrade

0 commit comments

Comments
 (0)