mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
@@ -635,12 +635,22 @@ whiptail_install_type_other() {
|
|||||||
|
|
||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
install_type=$(whiptail --title "Security Onion Setup" --radiolist \
|
# so-analyst-install will only work with a working network connection
|
||||||
"Choose distributed node type:" 9 65 2 \
|
# so only show it on network installs for now
|
||||||
"ANALYST" "Quit setup and run so-analyst-install " ON \
|
if [[ $setup_type == 'network' ]]; then
|
||||||
"HELIXSENSOR" "Create a Helix sensor " OFF \
|
install_type=$(whiptail --title "Security Onion Setup" --radiolist \
|
||||||
3>&1 1>&2 2>&3
|
"Choose distributed node type:" 9 65 2 \
|
||||||
)
|
"ANALYST" "Quit setup and run so-analyst-install " ON \
|
||||||
|
"HELIXSENSOR" "Create a Helix sensor " OFF \
|
||||||
|
3>&1 1>&2 2>&3
|
||||||
|
)
|
||||||
|
else
|
||||||
|
install_type=$(whiptail --title "Security Onion Setup" --radiolist \
|
||||||
|
"Choose distributed node type:" 8 65 1 \
|
||||||
|
"HELIXSENSOR" "Create a Helix sensor " ON \
|
||||||
|
3>&1 1>&2 2>&3
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|||||||
Reference in New Issue
Block a user