From 655055de16d7d7bf810758eb0f96a9262ed64fcf Mon Sep 17 00:00:00 2001 From: Paul Gottschling Date: Fri, 20 May 2022 15:00:15 -0400 Subject: [PATCH] Respond to PR feedback Also remove some erroneous command output --- docs/pages/setup/admin/adding-nodes.mdx | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/docs/pages/setup/admin/adding-nodes.mdx b/docs/pages/setup/admin/adding-nodes.mdx index 3651a56a6377d..7a8a095f7345d 100644 --- a/docs/pages/setup/admin/adding-nodes.mdx +++ b/docs/pages/setup/admin/adding-nodes.mdx @@ -63,11 +63,6 @@ machine: ```code $ export CA_PIN=$(tctl status | awk '/CA pin/{print $3}') - -# Cluster staging.example.com -# User CA never updated -# Host CA never updated -# CA pin (=presets.ca_pin=) ``` ### Generate a token @@ -136,16 +131,14 @@ auth_service: ### Start your Node with the invite token and CA pin -Execute the following commands on your local machine, then copy the output. +Execute the following commands on the host where you will run your Node so you +can use the `CA_PIN` and `INVITE_TOKEN` variables to start Teleport. ```code -$ echo "export CA_PIN=${CA_PIN?}" -$ echo "export INVITE_TOKEN=${INVITE_TOKEN?}" +$ export CA_PIN=$ +$ export INVITE_TOKEN= ``` -Paste the output into a terminal on the host where you will run your Node so you -can use the `CA_PIN` and `INVITE_TOKEN` variables to start Teleport. - Still on the host where you will run your Node, assign the address of your Auth @@ -253,7 +246,7 @@ dijkstra c9s93fd9-3333-91d3-9999-c9s93fd98f43 10.1.0.6:3022 distro Tokens used for joining Nodes to a cluster can be revoked before they are used. Run the following command on your local machine to create a token for a new -Proxy Service. +Proxy Service: ```code $ tctl nodes add --ttl=5m --roles=proxy