mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-13 12:42:56 +01:00
Add pillar in setup and change name of EG variable
This commit is contained in:
@@ -1640,6 +1640,13 @@ manager_pillar() {
|
|||||||
printf '%s\n'\
|
printf '%s\n'\
|
||||||
" kratoskey: '$KRATOSKEY'"\
|
" kratoskey: '$KRATOSKEY'"\
|
||||||
"" >> "$pillar_file"
|
"" >> "$pillar_file"
|
||||||
|
|
||||||
|
if [[ -n $ENDGAMEHOST ]]; then
|
||||||
|
printf '%s\n'\
|
||||||
|
"soc:"\
|
||||||
|
" endgamehost: '$ENDGAMEHOST'"\
|
||||||
|
"" >> "$pillar_file"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
manager_global() {
|
manager_global() {
|
||||||
|
|||||||
@@ -967,9 +967,9 @@ else
|
|||||||
so-learn enable logscan --apply >> $setup_log 2>&1
|
so-learn enable logscan --apply >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n $ENDGAME_SMP_IP ]]; then
|
if [[ -n $ENDGAMEHOST ]]; then
|
||||||
set_progress_str 99 'Configuring firewall for Endgame SMP'
|
set_progress_str 99 'Configuring firewall for Endgame SMP'
|
||||||
so-firewall --apply includehost endgame $ENDGAME_SMP_IP >> $setup_log 2>&1
|
so-firewall --apply includehost endgame $ENDGAMEHOST >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
} | whiptail_gauge_post_setup "Running post-installation steps..."
|
} | whiptail_gauge_post_setup "Running post-installation steps..."
|
||||||
|
|||||||
Reference in New Issue
Block a user