docs: fix use of gpg to avoid teeing binary to terminal (#16767)

This commit is contained in:
Tim Gross
2023-04-03 10:54:21 -04:00
committed by GitHub
parent d14f685f28
commit db2a4e579e

View File

@@ -84,7 +84,7 @@ $ sudo apt-get update && \
Add the HashiCorp [GPG key][gpg-key].
```shell-session
$ wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
$ wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /keyrings/hashicorp-archive-keyring.gpg
```
Add the official HashiCorp Linux repository.