Make sshd compatible with Debian image
authorRafael dos Santos Silva <xfalcox@gmail.com>
Tue, 3 Sep 2019 19:37:14 +0000 (16:37 -0300)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Tue, 3 Sep 2019 19:37:14 +0000 (16:37 -0300)
templates/sshd.template.yml

index 5b7f4b1a7ff641ce03b0571ab107515acc6b3e98..1de853872c19c6ca584881100c6f252fcfa520fe 100644 (file)
@@ -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