mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-23 17:33:10 +01:00
added warning about installing and ensure can only install workstation on centos
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
{# we only want this state to run it is CentOS #}
|
||||
{% if grains.os == 'CentOS' %}
|
||||
|
||||
remove_graphical_target:
|
||||
file.symlink:
|
||||
- name: /etc/systemd/system/default.target
|
||||
- target: /lib/systemd/system/multi-user.target
|
||||
- force: True
|
||||
|
||||
{% else %}
|
||||
workstation_trusted-ca_os_fail:
|
||||
test.fail_without_changes:
|
||||
- comment: 'SO Analyst Workstation can only be installed on CentOS'
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user