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