mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
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:
@@ -331,7 +331,7 @@ collect_es_space_limit() {
|
|||||||
collect_fleet_custom_hostname_inputs() {
|
collect_fleet_custom_hostname_inputs() {
|
||||||
whiptail_fleet_custom_hostname
|
whiptail_fleet_custom_hostname
|
||||||
|
|
||||||
while ! valid_fqdn "$FLEETCUSTOMHOSTNAME" || [[ $FLEETCUSTOMHOSTNAME != "" ]]; do
|
while [[ -n $FLEETCUSTOMHOSTNAME ]] && ! valid_fqdn "$FLEETCUSTOMHOSTNAME"; do
|
||||||
whiptail_invalid_input
|
whiptail_invalid_input
|
||||||
whiptail_fleet_custom_hostname "$FLEETCUSTOMHOSTNAME"
|
whiptail_fleet_custom_hostname "$FLEETCUSTOMHOSTNAME"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user