mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
[refactor] Remove whiptail shard count prompt
This commit is contained in:
@@ -425,15 +425,6 @@ collect_es_cluster_name() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
collect_es_shard_count() {
|
|
||||||
whiptail_shard_count
|
|
||||||
|
|
||||||
while ! valid_int "$SHARDCOUNT"; do
|
|
||||||
whiptail_invalid_input
|
|
||||||
whiptail_shard_count
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
collect_es_space_limit() {
|
collect_es_space_limit() {
|
||||||
whiptail_log_size_limit
|
whiptail_log_size_limit
|
||||||
|
|
||||||
|
|||||||
@@ -1328,18 +1328,6 @@ whiptail_setup_failed() {
|
|||||||
whiptail --title "Security Onion Setup" --msgbox "$message" $height 75
|
whiptail --title "Security Onion Setup" --msgbox "$message" $height 75
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_shard_count() {
|
|
||||||
|
|
||||||
[ -n "$TESTING" ] && return
|
|
||||||
|
|
||||||
SHARDCOUNT=$(whiptail --title "Security Onion Setup" --inputbox \
|
|
||||||
"\nEnter ES Shard Count: \n \n(Default value is pre-populated)" 10 75 125 3>&1 1>&2 2>&3)
|
|
||||||
|
|
||||||
local exitstatus=$?
|
|
||||||
whiptail_check_exitstatus $exitstatus
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
whiptail_so_allow_yesno() {
|
whiptail_so_allow_yesno() {
|
||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user