diff --git a/srv-deps/azv-plugin-slb b/srv-deps/azv-plugin-slb index 8dbdbde5b8b667a531d4757bda366a1db182feca..6b737d8af80d70d20e1ba4a7e493b4539f7ee401 100755 --- a/srv-deps/azv-plugin-slb +++ b/srv-deps/azv-plugin-slb @@ -56,10 +56,10 @@ function plugin_after_vm_creat () { # Redirects 8888 to ANY_MACHINE:22. Backend machine selected randomly. (replacement to inbound-nat-rule as workaround) debugexec az network lb rule create --resource-group $resgrp --lb-name $LB_NAME --name lb_rule_a --protocol All --frontend-port 8888 --backend-port 22 --backend-pool-name $BE_PL --frontend-ip $FE_IP --protocol Tcp --disable-outbound-snat 1 || exit if [[ $vmcount != 1 ]]; then - echo "$COLOR_RED_BLD Warning: PublicIp:8888 is mapped to RANDOM_MACHINE:22. Add inbound-nat-rule on az portal manually if required.$COLOR_CLR" 1>&2 + echo -e "$COLOR_RED_BLD Warning: PublicIp:8888 is mapped to RANDOM_MACHINE:22. Add inbound-nat-rule on az portal manually if required.$COLOR_CLR" 1>&2 fi if [[ $outbound_ports_per_vm != 1000 ]]; then - echo "$COLOR_RED_BLD Known-Bug: If you use this script, outbound_ports_per_vm limit doesn't work $COLOR_CLR" 1>&2 - echo "$COLOR_RED_BLD But if you delete & manually recreate SLB, inbound SLB doesn't work $COLOR_CLR" 1>&2 + echo -e "$COLOR_RED_BLD Known-Bug: If you use this script, outbound_ports_per_vm limit doesn't work $COLOR_CLR" 1>&2 + echo -e "$COLOR_RED_BLD But if you delete & manually recreate SLB, inbound SLB doesn't work $COLOR_CLR" 1>&2 fi }