| {%- from "linux/map.jinja" import system with context -%} |
| # Enable/disable the dynamic MOTD news service |
| # This is a useful way to provide dynamic, informative |
| # information pertinent to the users and administrators |
| # of the local system |
| {%- if system.motd_news.enabled %} |
| ENABLED=1 |
| {%- else %} |
| ENABLED=0 |
| {%- endif %} |
| |
| # Configure the source of dynamic MOTD news |
| # White space separated list of 0 to many news services |
| # For security reasons, these must be https |
| # and have a valid certificate |
| # Canonical runs a service at motd.ubuntu.com, and you |
| # can easily run one too |
| URLS="https://motd.ubuntu.com" |
| |
| # Specify the time in seconds, you're willing to wait for |
| # dynamic MOTD news |
| # Note that news messages are fetched in the background by |
| # a systemd timer, so this should never block boot or login |
| WAIT=5 |