Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
daily-scripts
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
daily-scripts
Commits
041786f6
There was an error fetching the commit references. Please try again later.
Commit
041786f6
authored
1 month ago
by
Recolic
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
945a3ed3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
srv-deps/azv-plugin-slb
+1
-1
1 addition, 1 deletion
srv-deps/azv-plugin-slb
with
1 addition
and
1 deletion
srv-deps/azv-plugin-slb
+
1
−
1
View file @
041786f6
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment