diff --git a/lib/web/scripts/node-join/install.sh b/lib/web/scripts/node-join/install.sh index 899d1919d54c1..f1d82b2b3be58 100755 --- a/lib/web/scripts/node-join/install.sh +++ b/lib/web/scripts/node-join/install.sh @@ -518,6 +518,7 @@ EOF install_teleport_node_config() { log "Writing Teleport node service config to ${TELEPORT_CONFIG_PATH}" ${TELEPORT_BINARY_DIR}/teleport node configure \ + --silent \ --token ${JOIN_TOKEN} \ ${JOIN_METHOD_FLAG} \ --ca-pin ${CA_PINS} \ diff --git a/tool/teleport/common/teleport.go b/tool/teleport/common/teleport.go index f5ba91e7b5e88..0a40a50b4e6a5 100644 --- a/tool/teleport/common/teleport.go +++ b/tool/teleport/common/teleport.go @@ -919,7 +919,7 @@ func onConfigDump(flags dumpFlags) error { fmt.Fprintf(flags.stdout, "- The Teleport configuration is located at %q.\n", configPath) } if !canWriteToDataDir { - fmt.Fprintf(flags.stdout, "- Teleport will be storing data at %q. To change that, run \"teleport configure\" with the \"--data-dir\" flag.\n", flags.DataDir) + fmt.Fprintf(flags.stdout, "- Teleport will be storing data at %q. To change that, edit the \"data_dir\" field in %q.", flags.DataDir, configPath) } fmt.Fprintf(flags.stdout, "\n") } else {