Oleksii Molchanov | b57fc21 | 2020-10-06 15:31:14 +0300 | [diff] [blame] | 1 | {%- from "linux/map.jinja" import system with context -%} |
| 2 | # Enable/disable the dynamic MOTD news service |
| 3 | # This is a useful way to provide dynamic, informative |
| 4 | # information pertinent to the users and administrators |
| 5 | # of the local system |
| 6 | {%- if system.motd_news.enabled %} |
| 7 | ENABLED=1 |
| 8 | {%- else %} |
| 9 | ENABLED=0 |
| 10 | {%- endif %} |
| 11 | |
| 12 | # Configure the source of dynamic MOTD news |
| 13 | # White space separated list of 0 to many news services |
| 14 | # For security reasons, these must be https |
| 15 | # and have a valid certificate |
| 16 | # Canonical runs a service at motd.ubuntu.com, and you |
| 17 | # can easily run one too |
| 18 | URLS="https://motd.ubuntu.com" |
| 19 | |
| 20 | # Specify the time in seconds, you're willing to wait for |
| 21 | # dynamic MOTD news |
| 22 | # Note that news messages are fetched in the background by |
| 23 | # a systemd timer, so this should never block boot or login |
| 24 | WAIT=5 |