mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-10 05:12:54 +02:00
top match and remove_gui state
This commit is contained in:
+5
-1
@@ -511,6 +511,10 @@ base:
|
||||
- filebeat
|
||||
- idh
|
||||
|
||||
'*_workstation and G@saltversion:{{saltversion}}':
|
||||
'J@workstation:gui:enabled:^[Tt][Rr][Uu][Ee]$ and ( G@saltversion:{{saltversion}} and G@os:CentOS )':
|
||||
- match: compound
|
||||
- workstation
|
||||
|
||||
'J@workstation:gui:enabled:^[Ff][Aa][Ll][Ss][Ee]$ and ( G@saltversion:{{saltversion}} and G@os:CentOS )':
|
||||
- match: compound
|
||||
- workstation.remove_gui
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
remove_graphical_target:
|
||||
file.symlink:
|
||||
- name: /etc/systemd/system/default.target
|
||||
- target: /lib/systemd/system/multi-user.target
|
||||
- force: True
|
||||
Reference in New Issue
Block a user