mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +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.
|
# The below settings are hardcoded purely for automated testing purposes.
|
||||||
TESTING=true
|
TESTING=true
|
||||||
|
|
||||||
if [[ "$test_profile" =~ "-sensor-" || "$test_profile" =~ "-search-" ]]; then
|
if [[ "$test_profile" =~ "-sensor-" ]]; then
|
||||||
HOSTNAME=$test_profile
|
HOSTNAME=sensor
|
||||||
|
elif [[ "$test_profile" =~ "-search-" ]]; then
|
||||||
|
HOSTNAME=search
|
||||||
else
|
else
|
||||||
HOSTNAME=manager
|
HOSTNAME=manager
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user