fix: acknowledge pi maintenance barrier
This commit is contained in:
@@ -172,7 +172,9 @@ func piCommand(ctx context.Context, installation config.Installation, runner com
|
||||
if err := pi.Configure(ctx, controlled, defaults); err != nil {
|
||||
return piFailure(stderr, err, secretValues)
|
||||
}
|
||||
fmt.Fprintln(stdout, "Pi defaults applied and read back. Put credentials only in PI_AUTH_FILE (/home/thoth/.pi/agent/auth.json, mode 0600); never pass credentials to thothctl.")
|
||||
authFile, _ := installation.EnvironmentValue("PI_AUTH_FILE")
|
||||
if authFile == "" { authFile = "the host path declared by PI_AUTH_FILE" }
|
||||
fmt.Fprintf(stdout, "Pi defaults applied and read back. Put credentials only in PI_AUTH_FILE=%s (mode 0600); expected variables/files are PI_AUTH_FILE and /home/thoth/.pi/agent/auth.json. Never pass credentials to thothctl.\n", authFile)
|
||||
return 0
|
||||
case "update":
|
||||
request, err := parsePiUpdateArgs(args[1:], filepath.Join(installation.ProjectDirectory, ".thothctl", "update-state.json"))
|
||||
|
||||
Reference in New Issue
Block a user