mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Merge pull request #7732 from Security-Onion-Solutions/feature/idh-allow-multiple-int
Feature/idh allow multiple int
This commit is contained in:
@@ -450,6 +450,13 @@ collect_hostname_validate() {
|
||||
done
|
||||
}
|
||||
|
||||
collect_idh_preferences() {
|
||||
IDHMGTRESTRICT='False'
|
||||
whiptail_idh_preferences
|
||||
|
||||
if [[ "$idh_preferences" != "" ]]; then IDHMGTRESTRICT='True'; fi
|
||||
}
|
||||
|
||||
collect_idh_services() {
|
||||
whiptail_idh_services
|
||||
|
||||
@@ -2900,6 +2907,7 @@ write_out_idh_services() {
|
||||
|
||||
printf '%s\n'\
|
||||
"idh:"\
|
||||
" restrict_management_ip: $IDHMGTRESTRICT"\
|
||||
" services:" >> "$pillar_file"
|
||||
for service in ${idh_services[@]}; do
|
||||
echo " - $service" | tr '[:upper:]' '[:lower:]' >> "$pillar_file"
|
||||
|
||||
Reference in New Issue
Block a user