From 470a4cbc237368f963becc494ec1bd6133620989 Mon Sep 17 00:00:00 2001 From: Recolic <git@me.recolic.net> Date: Tue, 25 Feb 2025 13:33:44 -0800 Subject: [PATCH] . --- srv-deps/azv-plugin-slb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srv-deps/azv-plugin-slb b/srv-deps/azv-plugin-slb index 8dbdbde..6b737d8 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 } -- GitLab