autodetect manager IP

This commit is contained in:
Jason Ertel
2023-03-09 11:47:35 -05:00
parent b6ce9f489a
commit a4409b2979

View File

@@ -181,10 +181,10 @@ if [ -n "$test_profile" ]; then
# The below settings are hardcoded purely for automated testing purposes.
TESTING=true
if [[ "$test_profile" =~ "-sensor-" ]]; then
if [[ "$test_profile" =~ "-sensor" ]]; then
HOSTNAME=sensor
MSRVIP_OFFSET=-2
elif [[ "$test_profile" =~ "-search-" ]]; then
elif [[ "$test_profile" =~ "-search" ]]; then
HOSTNAME=search
MSRVIP_OFFSET=-1
else
@@ -196,7 +196,6 @@ if [ -n "$test_profile" ]; then
address_type=DHCP
elif [[ "$test_profile" =~ "-cloud" ]]; then
MSRVIP=10.99.1.20
elif [[ "$test_profile" =~ "-iso" ]]; then
elif [[ "$test_profile" =~ "-airgap" ]]; then
is_airgap=true
fi