add additional test modes

This commit is contained in:
Jason Ertel
2023-09-01 15:30:53 -04:00
parent 8093e5ce7c
commit 335aaa5594

View File

@@ -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"