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
@@ -0,0 +1,2 @@
ALTER TABLE workspace_agents
DROP COLUMN motd_file;
@@ -0,0 +1,4 @@
ALTER TABLE workspace_agents
ADD COLUMN motd_file text NOT NULL DEFAULT '';
COMMENT ON COLUMN workspace_agents.motd_file IS 'Path to file inside workspace containing the message of the day (MOTD) to show to the user when logging in via SSH.';