more useful motd message, added shortcut for various tools
[discourse_docker.git] / templates / sshd.template.yml
index c4ca4f6712bea14b2aa844ca5509b9b2c8f59cdb..888e834ca0607b6ed11588dbf3ca0af4d88be2ac 100644 (file)
@@ -25,3 +25,15 @@ run:
         - echo "$ssh_key" >> /root/.ssh/authorized_keys
         - echo "$$ENV_SSH_PUB_KEY" >> /root/.ssh/authorized_keys
         - chmod 640 /root/.ssh/authorized_keys
+        - rm /etc/update-motd.d/00-header
+        - rm /etc/update-motd.d/10-help-text
+        - rm /etc/update-motd.d/99-footer
+        - rm /etc/legal
+  - file:
+     path: /etc/update-motd.d/00-discourse
+     chmod: +x
+     contents: |
+        #!/bin/sh
+        echo
+        echo Welcome to Discourse Docker
+        echo