mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Fix the analyst pillar
This commit is contained in:
@@ -145,7 +145,7 @@ analyst_workstation_pillar() {
|
|||||||
# Create the analyst workstation pillar
|
# Create the analyst workstation pillar
|
||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
"host:"\
|
"host:"\
|
||||||
" mainint: '$INTERFACE'"\
|
" mainint: '$MNIC'"\
|
||||||
"patch:"\
|
"patch:"\
|
||||||
" os:"\
|
" os:"\
|
||||||
" source: $source"\
|
" source: $source"\
|
||||||
@@ -156,7 +156,7 @@ analyst_workstation_pillar() {
|
|||||||
" gui:"\
|
" gui:"\
|
||||||
" enabled: true" >> "$pillar_file"\
|
" enabled: true" >> "$pillar_file"\
|
||||||
"sensoroni:"\
|
"sensoroni:"\
|
||||||
" node_description: '${NODE_DESCRIPTION//\'/''}'"
|
" node_description: '${NODE_DESCRIPTION//\'/''}'" > $pillar_file
|
||||||
}
|
}
|
||||||
|
|
||||||
calculate_useable_cores() {
|
calculate_useable_cores() {
|
||||||
|
|||||||
@@ -687,7 +687,7 @@ echo "1" > /root/accept_changes
|
|||||||
|
|
||||||
[[ ${#ntp_servers[@]} -gt 0 ]] && configure_ntp >> $setup_log 2>&1
|
[[ ${#ntp_servers[@]} -gt 0 ]] && configure_ntp >> $setup_log 2>&1
|
||||||
|
|
||||||
reserve_ports
|
if [[ ! $is_analyst ]]; then reserve_ports fi
|
||||||
|
|
||||||
set_path
|
set_path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user