ports/security/teleport5/files/patch-lib_services_server.go
Michael Reim efc9e9c8f2 security/teleport5: New port: Centralized access gateway using the SSH protocol
This ports main purpose is to provide an upgrade path for users to
Teleport 6 and newer versions. New installations are STRONGLY
discouraged until we have version 7.X in tree.

PR:		268604
2023-01-02 09:06:53 +01:00

11 lines
455 B
Go

--- lib/services/server.go.orig 2022-02-23 04:58:43 UTC
+++ lib/services/server.go
@@ -578,7 +578,7 @@ type CommandLabelV1 struct {
// Period is a time between command runs
Period time.Duration `json:"period"`
// Command is a command to run
- Command []string `json:"command"` //["/usr/bin/hostname", "--long"]
+ Command []string `json:"command"` //["/bin/hostname", "--long"]
// Result captures standard output
Result string `json:"result"`
}