This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ExternalMirrors
/
linux-formula
mirror of
https://github.com/salt-formulas/salt-formula-linux
Watch
1
Star
0
Fork
1
Code
Issues
0
Releases
8
Wiki
Activity
Browse Source
Remove /etc/motd if we are using dynamic motd
pull/123/head
Filip Pytloun
7 years ago
parent
36fc6df8bf
commit
6df26123d3
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
+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 %}
Write
Preview
Loading…
Cancel
Save