mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
add additional test modes
This commit is contained in:
@@ -183,9 +183,26 @@ if [ -n "$test_profile" ]; then
|
||||
install_type=SEARCHNODE
|
||||
HOSTNAME=search
|
||||
MSRVIP_OFFSET=-1
|
||||
else
|
||||
elif [[ "$test_profile" =~ "-managersearch" ]]; then
|
||||
install_type=MANAGERSEARCH
|
||||
elif [[ "$test_profile" =~ "-heavynode" ]]; then
|
||||
install_type=HEAVYNODE
|
||||
HOSTNAME=sensor
|
||||
MSRVIP_OFFSET=-1
|
||||
elif [[ "$test_profile" =~ "-desktop" ]]; then
|
||||
install_type=DESKTOP
|
||||
MSRVIP_OFFSET=-3
|
||||
is_desktop_grid=true
|
||||
fi
|
||||
|
||||
if [[ -z "$HOSTNAME" ]]; then
|
||||
HOSTNAME=manager
|
||||
fi
|
||||
|
||||
if [[ "$install_type" =~ "DESKTOP" ]]; then
|
||||
is_desktop=true
|
||||
hostname=desktop
|
||||
fi
|
||||
|
||||
info "Activating test profile; profile=$test_profile; install_type=$install_type"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user