diff --git a/bin/bastion.sh b/bin/bastion.sh index 501cc559..a7bf37e6 100644 --- a/bin/bastion.sh +++ b/bin/bastion.sh @@ -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