diff --git a/salt/motd/files/so_motd.jinja b/salt/motd/files/so_motd.jinja index 4b22eb56c..43ad3b4de 100644 --- a/salt/motd/files/so_motd.jinja +++ b/salt/motd/files/so_motd.jinja @@ -1,9 +1,11 @@ {% set needs_restarting_check = salt['mine.get']('*', 'needs_restarting.check', tgt_type='glob') -%} +{% set role = grains.id.split('_') | last -%} {% set url = salt['pillar.get']('manager:url_base') -%} - +{% if role in ['eval', 'managersearch', 'manager', 'standalone'] %} Access the Security Onion web interface at https://{{ url }} (You may need to run so-allow first if you haven't yet) +{% endif %} {%- if needs_restarting_check %} {%- set minions_need_restarted = [] %}