refactor automated testing inputs due to streamlined setup process

This commit is contained in:
Jason Ertel committed 2023-02-28 13:43:52 -05:00
1 parent dd8f6a460b
commit d5df1a106a
2 files changed
+35 -33

No files matched your search

+1 -1
View File
@@ -322,7 +322,7 @@ collect_hostname() {
}
collect_hostname_validate() {
if [[ $automated == no ]] && [[ "$HOSTNAME" == *'localhost'* ]]; then HOSTNAME=securityonion; fi
if [[ -z "$TESTING" ]] && [[ "$HOSTNAME" == *'localhost'* ]]; then HOSTNAME=securityonion; fi
whiptail_set_hostname "$HOSTNAME"