refactor automated testing inputs due to streamlined setup process

This commit is contained in:
Jason Ertel
2023-02-28 14:29:22 -05:00
parent 9c3cc17153
commit 8f20e2bcb9

View File

@@ -180,14 +180,14 @@ if [ -n "$test_profile" ]; then
# The below settings are hardcoded purely for automated testing purposes.
TESTING=true
MSRV=manager
if [ "$test_profile" =~ *"-net" ]; then
if [[ "$test_profile" =~ "-net" ]]; then
address_type=DHCP
MSRVIP=10.66.166.72
elif [ "$test_profile" =~ *"-cloud" ]; then
elif [[ "$test_profile" =~ "-cloud" ]]; then
MSRVIP=10.99.1.20
elif [ "$test_profile" =~ *"-iso" ]; then
elif [[ "$test_profile" =~ "-iso" ]]; then
MSRVIP=10.66.166.42
elif [ "$test_profile" =~ *"-airgap" ]; then
elif [[ "$test_profile" =~ "-airgap" ]]; then
MSRVIP=10.66.166.52
fi
if [ -f "/root/public_ip" ]; then