Skip to content

Commit

Permalink
Teleport install command for discovery agents (go) (#43423)
Browse files Browse the repository at this point in the history
* Teleport install command for discovery agents (go)

This PR adds a new command that will install teleport on the current
system.
Its goal is to replace the default installer script used in Auto
Discovery scripts.

Its correctness should be compared to the current script. Improvements
will only be considered on a 2nd phase.

* rename ani/asi and re-organize install/configure sections

* create lib/utils/packagemanager package

* rename Autodiscover to AutoDiscover
  • Loading branch information
marcoandredinis authored Jul 9, 2024
1 parent fa6002b commit fe4418f
Show file tree
Hide file tree
Showing 12 changed files with 1,898 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/types/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,14 @@ const (
// id found via automatic discovery, to avoid re-running
// installation commands on the node.
ProjectIDLabel = TeleportInternalLabelPrefix + "project-id"
// RegionLabel is used to identify virtual machines by region found
// via automatic discovery, to avoid re-running installation commands
// on the node.
RegionLabel = TeleportInternalLabelPrefix + "region"
// ResourceGroupLabel is used to identify virtual machines by resource-group found
// via automatic discovery, to avoid re-running installation commands
// on the node.
ResourceGroupLabel = TeleportInternalLabelPrefix + "resource-group"
// ZoneLabel is used to identify virtual machines by GCP zone
// found via automatic discovery, to avoid re-running installation
// commands on the node.
Expand Down
Loading

0 comments on commit fe4418f

Please sign in to comment.