From 1a1ea032c33e8fb241f0d0e6f27ff5dcb65adc01 Mon Sep 17 00:00:00 2001
From: Rafael dos Santos Silva <xfalcox@gmail.com>
Date: Tue, 3 Sep 2019 16:37:14 -0300
Subject: [PATCH] Make sshd compatible with Debian image

---
 templates/sshd.template.yml | 3 ---
 1 file changed, 3 deletions(-)

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
-- 
2.25.1