Skip to content

Commit b9531c4

Browse files
Merge pull request #32 from oracle-quickstart/2.10.4
Hardcode the OL version to mitigate the change on Hashicorp repo
2 parents 7f6f274 + fd6ed65 commit b9531c4

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)