From 8f20e2bcb975bf8c8f4655f25b13eda38297a471 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Tue, 28 Feb 2023 14:29:22 -0500 Subject: [PATCH] refactor automated testing inputs due to streamlined setup process --- setup/so-setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 8a295afcd..b7b178c08 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -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