mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
refactor automated testing inputs due to streamlined setup process
This commit is contained in:
@@ -181,8 +181,10 @@ if [ -n "$test_profile" ]; then
|
||||
# The below settings are hardcoded purely for automated testing purposes.
|
||||
TESTING=true
|
||||
|
||||
if [[ "$test_profile" =~ "-sensor-" || "$test_profile" =~ "-search-" ]]; then
|
||||
HOSTNAME=$test_profile
|
||||
if [[ "$test_profile" =~ "-sensor-" ]]; then
|
||||
HOSTNAME=sensor
|
||||
elif [[ "$test_profile" =~ "-search-" ]]; then
|
||||
HOSTNAME=search
|
||||
else
|
||||
HOSTNAME=manager
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user