Update install for Ubuntu target
This commit is contained in:
parent
76b7c779bc
commit
e09dd647f3
3
fabrica
3
fabrica
|
@ -21,10 +21,11 @@ function install_hashicorp_tools()
|
||||||
terraform_version="0.14.3"
|
terraform_version="0.14.3"
|
||||||
if [[ ${DISTRIB_ID} == "ManjaroLinux" ]]
|
if [[ ${DISTRIB_ID} == "ManjaroLinux" ]]
|
||||||
then
|
then
|
||||||
pacman -Syq terraform packer --noconfirm
|
pacman -Syq make terraform packer --noconfirm
|
||||||
return ${?}
|
return ${?}
|
||||||
elif [[ ${DISTRIB_ID} == "Ubuntu" ]]
|
elif [[ ${DISTRIB_ID} == "Ubuntu" ]]
|
||||||
then
|
then
|
||||||
|
apt-get -y install software-properties-common make
|
||||||
gpg_key_url="https://apt.releases.hashicorp.com/gpg"
|
gpg_key_url="https://apt.releases.hashicorp.com/gpg"
|
||||||
|
|
||||||
curl -fsSL ${gpg_key_url} | apt-key add -
|
curl -fsSL ${gpg_key_url} | apt-key add -
|
||||||
|
|
Loading…
Reference in New Issue