Update packet.md (#5963)

The Terraform installation part states that is for CentOS 7, but the echo command refers to OS X binary. Updated the echo command to use the Linux version.
This commit is contained in:
Rishi 2020-04-17 01:37:07 +05:30 committed by GitHub
parent 0924c2510c
commit e2d6f8d897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ Terraform is required to deploy the bare metal infrastructure. The steps below a
Grab the latest version of Terraform and install it. Grab the latest version of Terraform and install it.
```bash ```bash
echo "https://releases.hashicorp.com/terraform/$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')/terraform_$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')_darwin_amd64.zip" echo "https://releases.hashicorp.com/terraform/$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')/terraform_$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')_linux_amd64.zip"
sudo yum install unzip sudo yum install unzip
sudo unzip terraform_0.12.24_linux_amd64.zip -d /usr/local/bin/ sudo unzip terraform_0.12.24_linux_amd64.zip -d /usr/local/bin/
``` ```