Skip to content

Commit a2d1a77

Browse files
authored
Add --node-name to the teleport configure command (#42250)
This only existed for teleport node configure and there's no reason why we can't support it for both. Closes #42127
1 parent 3a3a293 commit a2d1a77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tool/teleport/common/teleport.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ func Run(options Options) (app *kingpin.Application, executedCommand string, con
401401
dump.Flag("proxy", "Address of the proxy.").StringVar(&dumpFlags.ProxyAddress)
402402
dump.Flag("app-name", "Name of the application to start when using app role.").StringVar(&dumpFlags.AppName)
403403
dump.Flag("app-uri", "Internal address of the application to proxy.").StringVar(&dumpFlags.AppURI)
404+
dump.Flag("node-name", "Name for the Teleport node.").StringVar(&dumpFlags.NodeName)
404405
dump.Flag("node-labels", "Comma-separated list of labels to add to newly created nodes, for example env=staging,cloud=aws.").StringVar(&dumpFlags.NodeLabels)
405406

406407
ver.Flag("raw", "Print the raw teleport version string.").BoolVar(&rawVersion)

0 commit comments

Comments
 (0)