Update install for Ubuntu target

This commit is contained in:
Philippe Caseiro 2021-03-24 10:29:10 +01:00
parent 76b7c779bc
commit e09dd647f3
1 changed files with 2 additions and 1 deletions

View File

@ -21,10 +21,11 @@ function install_hashicorp_tools()
terraform_version="0.14.3"
if [[ ${DISTRIB_ID} == "ManjaroLinux" ]]
then
pacman -Syq terraform packer --noconfirm
pacman -Syq make terraform packer --noconfirm
return ${?}
elif [[ ${DISTRIB_ID} == "Ubuntu" ]]
then
apt-get -y install software-properties-common make
gpg_key_url="https://apt.releases.hashicorp.com/gpg"
curl -fsSL ${gpg_key_url} | apt-key add -