Skip to content
Snippets Groups Projects
Commit 041786f6 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent 945a3ed3
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment