From 041786f617d3bd38e669a2d9473b90cc30b8535b Mon Sep 17 00:00:00 2001
From: Recolic <git@me.recolic.net>
Date: Tue, 25 Feb 2025 16:39:36 -0800
Subject: [PATCH] .

---
 srv-deps/azv-plugin-slb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srv-deps/azv-plugin-slb b/srv-deps/azv-plugin-slb
index c5d5479..7c10d91 100755
--- a/srv-deps/azv-plugin-slb
+++ b/srv-deps/azv-plugin-slb
@@ -52,7 +52,7 @@ function plugin_after_vm_creat () {
 
     if [[ $enable_outbound_rule_fix = 1 ]]; then
         # This is an unreliable trick to use NIC directly. It's from good-case ARM template dump. 
-        debugexec az network lb address-pool update -g $resgrp --lb-name $LB_NAME -n $BE_PL --vnet $vnetname --backend-addresses "[{name:${resgrp}_${vmname}VMNicipconfig${vmname}}]" || exit
+        debugexec az network lb address-pool update -g $resgrp --lb-name $LB_NAME -n $BE_PL --vnet $vnetname --backend-addresses [0].name="${resgrp}_${vmname}VMNicipconfig${vmname}" || exit
     else
         echo -e "$COLOR_RED_BLD Warning: enable_outbound_rule_fix not enabled. outbound_ports_per_vm limit won't make effect $COLOR_CLR" 1>&2
         # When a backend pool is configured by IP address, the backend instances are not secure by default and still use default outbound access.
-- 
GitLab