mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
18 lines
438 B
Plaintext
18 lines
438 B
Plaintext
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
|
|
|
{# we only want this state to run it is CentOS #}
|
|
{% if GLOBALS.os == 'OEL' %}
|
|
|
|
remove_graphical_target:
|
|
file.symlink:
|
|
- name: /etc/systemd/system/default.target
|
|
- target: /lib/systemd/system/multi-user.target
|
|
- force: True
|
|
|
|
{% else %}
|
|
desktop_trusted-ca_os_fail:
|
|
test.fail_without_changes:
|
|
- comment: 'SO Desktop can only be installed on Oracle Linux'
|
|
|
|
{% endif %}
|