Skip to content

Commit

Permalink
[v9] Install script changes and sudo command updates for Teleport ins…
Browse files Browse the repository at this point in the history
…tall and configure (#11750)

* make cmd sudo friendly

* update command to be sudo friendly
  • Loading branch information
stevenGravy authored Apr 5, 2022
1 parent a99d3b4 commit d6c11f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/pages/includes/acme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ domain name of your Teleport cluster and `[email protected]` is an email address
used for notifications (you can use any domain):

```code
teleport configure --acme [email protected] --cluster-name=tele.example.com > /etc/teleport.yaml
teleport configure --acme [email protected] --cluster-name=tele.example.com | \
sudo tee /etc/teleport.yaml > /dev/null
```

The `--acme`, `--acme-email`, and `--cluster-name` flags will add the following
Expand Down
7 changes: 3 additions & 4 deletions docs/pages/includes/install-linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
$ sudo curl https://deb.releases.teleport.dev/teleport-pubkey.asc \
-o /usr/share/keyrings/teleport-archive-keyring.asc
# Add the Teleport APT repository
$ cat<<EOF>/etc/apt/sources.list.d/teleport.list
deb [signed-by=/usr/share/keyrings/teleport-archive-keyring.asc] https://deb.releases.teleport.dev/ stable main
EOF
$ echo "deb [signed-by=/usr/share/keyrings/teleport-archive-keyring.asc] https://deb.releases.teleport.dev/ stable main" \
| sudo tee /etc/apt/sources.list.d/teleport.list > /dev/null
$ sudo apt-get update
$ sudo apt-get install teleport
```
Expand Down Expand Up @@ -62,4 +61,4 @@
```
</TabItem>

</Tabs>
</Tabs>

0 comments on commit d6c11f3

Please sign in to comment.