From: Rafael dos Santos Silva <xfalcox@gmail.com>
Date: Tue, 3 Sep 2019 19:37:14 +0000 (-0300)
Subject: Make sshd compatible with Debian image
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1a1ea032c33e8fb241f0d0e6f27ff5dcb65adc01;p=discourse_docker.git

Make sshd compatible with Debian image
---

diff --git a/templates/sshd.template.yml b/templates/sshd.template.yml
index 5b7f4b1..1de8538 100644
--- a/templates/sshd.template.yml
+++ b/templates/sshd.template.yml
@@ -38,9 +38,6 @@ 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/legal
   - file:
      path: /etc/update-motd.d/00-discourse
      chmod: +x