From 894a20b3adc1f16ad6d693399aa5e422be5ca1a2 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Thu, 9 Mar 2023 12:58:51 -0500 Subject: [PATCH] autodetect manager IP --- setup/so-setup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index 49b549e65..a1a1c6d76 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -180,21 +180,24 @@ if [ -n "$test_profile" ]; then else install_type=${install_type^^} fi - info "Activating test profile; profile=$test_profile; install_type=$install_type" # The below settings are hardcoded purely for automated testing purposes. TESTING=true if [[ "$test_profile" =~ "-sensor" ]]; then + install_type=SENSOR HOSTNAME=sensor MSRVIP_OFFSET=-2 elif [[ "$test_profile" =~ "-search" ]]; then + install_type=SEARCH HOSTNAME=search MSRVIP_OFFSET=-1 else HOSTNAME=manager fi + info "Activating test profile; profile=$test_profile; install_type=$install_type" + MSRV=manager if [[ "$test_profile" =~ "-net" ]]; then address_type=DHCP