Skip to content

Commit

Permalink
Adjust wording to explicitly state "example" is the bot name
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyb89 authored and github-actions committed Nov 8, 2024
1 parent dabcc2c commit 9bc2778
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/pages/enroll-resources/machine-id/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ locked bot:
1. Remove the lock on the bot's user
1. Reset the bot's generation counter by creating a new bot instance

To remove the lock, first find and remove the lock targeting the bot user:
To remove the lock, first find and remove the lock targeting the bot user. For
this example, we'll assume the bot is named `example`, which will have an
associated Teleport user named `bot-example`:

```code
$ tctl get locks
Expand All @@ -96,7 +98,8 @@ version: v2
$ tctl rm lock/5cee949f-5203-4f3b-9805-dac35d798a16
```

Next, use `tctl bots instances add` to generate a new join token for the bot:
Next, use `tctl bots instances add` to generate a new join token for the
preexisting bot `example`:
```code
$ tctl bots instances add example
```
Expand Down

0 comments on commit 9bc2778

Please # to comment.