feat: Add support for MOTD file in coder agents (#5147)

This commit is contained in:
Mathias Fredriksson
2022-11-24 12:22:20 +00:00
committed by GitHub
parent 8ff89c4288
commit eff99f78fa
21 changed files with 404 additions and 191 deletions
+2
View File
@@ -675,6 +675,8 @@ type WorkspaceAgent struct {
ConnectionTimeoutSeconds int32 `db:"connection_timeout_seconds" json:"connection_timeout_seconds"`
// URL for troubleshooting the agent.
TroubleshootingURL string `db:"troubleshooting_url" json:"troubleshooting_url"`
// Path to file inside workspace containing the message of the day (MOTD) to show to the user when logging in via SSH.
MOTDFile string `db:"motd_file" json:"motd_file"`
}
type WorkspaceApp struct {