Merge pull request #3155 from Security-Onion-Solutions/bugfix/fleet-hostname-input

[fix] Change logic for collecting fleet custom hostname
This commit is contained in:
William Wernert
2021-02-26 09:16:22 -05:00
committed by GitHub

View File

@@ -331,7 +331,7 @@ collect_es_space_limit() {
collect_fleet_custom_hostname_inputs() {
whiptail_fleet_custom_hostname
while ! valid_fqdn "$FLEETCUSTOMHOSTNAME" || [[ $FLEETCUSTOMHOSTNAME != "" ]]; do
while [[ -n $FLEETCUSTOMHOSTNAME ]] && ! valid_fqdn "$FLEETCUSTOMHOSTNAME"; do
whiptail_invalid_input
whiptail_fleet_custom_hostname "$FLEETCUSTOMHOSTNAME"
done