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
b27c3d03
There was an error fetching the commit references. Please try again later.
Commit
b27c3d03
authored
1 month ago
by
Recolic
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
bb19033e
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
linuxconf/files/mymsbin/azvm-deploy.sh
+0
-12
0 additions, 12 deletions
linuxconf/files/mymsbin/azvm-deploy.sh
with
0 additions
and
12 deletions
linuxconf/files/mymsbin/azvm-deploy.sh
+
0
−
12
View file @
b27c3d03
...
...
@@ -20,9 +20,6 @@ var_default_val accelnet 1
# If set to n: First n VMs will be deployed into TiP (if provided TiP session), and TiP session would be ignored for the rest VMs.
var_default_val only_n_vms_in_tip 999
# Use alternative IP range. Set a non-zero number (1-253) if you need vnet peering. Will be part of LAN addr.
var_default_val vnet_altaddr 0
var_default_val prefix
$(
short
=
1 today
||
echo
zz
)$(
head
-c6
/dev/urandom |
base64
-w0
|
tr
-d
=
/+
)
var_default_val resgrp rshgrp-
$prefix
var_default_val vmname
$prefix
-vm
...
...
@@ -114,15 +111,6 @@ if [ "$vnet_ipv6" = 1 ]; then
explicit_vnet_create
=
1
fi
# This could also be a plugin.
if
[
"
$vnet_altaddr
"
!=
0
]
;
then
[
"
$vnet_ipv6
"
=
1
]
&&
echo_warn
"++ Error: vnet_altaddr conflicts with vnet_ipv6."
&&
exit
1
vnet_iprange
=
10.
$vnet_altaddr
.0.0
echo_info
"++ alt_addr: vnet IP range
$vnet_iprange
"
vm_create_xtra_arg+
=(
--vnet-address-prefix
$vnet_iprange
/16
--subnet-address-prefix
$vnet_iprange
/24
)
vnet_create_xtra_arg+
=(
--address-prefixes
$vnet_iprange
/16
--subnet-prefixes
$vnet_iprange
/24
)
fi
plugin_hook plugin_before_vnet_creat
# Explicitly create vnet if advanced options are necessary
...
...
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