mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #11245 from Security-Onion-Solutions/jertel/sod
ensure hostname is set
This commit is contained in:
@@ -174,7 +174,6 @@ if [ -n "$test_profile" ]; then
|
||||
|
||||
# The below settings are hardcoded purely for automated testing purposes.
|
||||
TESTING=true
|
||||
is_desktop_grid=false
|
||||
|
||||
if [[ "$test_profile" =~ "-sensor" ]]; then
|
||||
install_type=SENSOR
|
||||
@@ -201,6 +200,9 @@ if [ -n "$test_profile" ]; then
|
||||
if [[ "$install_type" =~ "DESKTOP" ]]; then
|
||||
is_desktop=true
|
||||
HOSTNAME=desktop
|
||||
if [[ -z "$is_desktop_grid" ]]; then
|
||||
is_desktop_grid=false
|
||||
fi
|
||||
fi
|
||||
|
||||
info "Activating test profile; profile=$test_profile; install_type=$install_type"
|
||||
|
||||
Reference in New Issue
Block a user