Browse Source

Remove /etc/motd if we are using dynamic motd

pull/123/head
Filip Pytloun 7 years ago
parent
commit
6df26123d3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      linux/system/motd.sls

+ 3
- 0
linux/system/motd.sls View File

@@ -30,6 +30,9 @@ motd_fix_pam_sshd:
- repl: "/run/motd"
{%- endif %}

/etc/motd:
file.absent

{%- for motd in system.motd %}
{%- set motd_index = loop.index %}


Loading…
Cancel
Save