mirror of https://github.com/coder/coder.git
chore: hide Coder message on code-server's "Getting Started" page (#4847)
This commit is contained in:
parent
1882edaa9a
commit
9b76b10206
|
@ -585,6 +585,9 @@ func (a *agent) createCommand(ctx context.Context, rawCommand string, env []stri
|
|||
cmd.Env = append(cmd.Env, fmt.Sprintf("SSH_CLIENT=%s %s %s", srcAddr, srcPort, dstPort))
|
||||
cmd.Env = append(cmd.Env, fmt.Sprintf("SSH_CONNECTION=%s %s %s %s", srcAddr, srcPort, dstAddr, dstPort))
|
||||
|
||||
// Hide Coder message on code-server's "Getting Started" page
|
||||
cmd.Env = append(cmd.Env, "CS_DISABLE_GETTING_STARTED_OVERRIDE=true")
|
||||
|
||||
// Load environment variables passed via the agent.
|
||||
// These should override all variables we manually specify.
|
||||
for envKey, value := range metadata.EnvironmentVariables {
|
||||
|
|
Loading…
Reference in New Issue