fixed bug in computing the suffix for the dns label name
This commit is contained in:
Родитель
56f4e88442
Коммит
6b29f2edca
|
@ -17,7 +17,7 @@
|
|||
"subnetName": "web",
|
||||
"privateIPAllocationMethod": "Static",
|
||||
"publicIPAllocationMethod": "Dynamic",
|
||||
"startingIPAddress": "10.0.0.240",
|
||||
"startingIPAddress": "10.0.1.240",
|
||||
"enableIPForwarding": true,
|
||||
"domainNameLabelPrefix": "bb-dev-dns",
|
||||
"dnsServers": [
|
||||
|
@ -38,7 +38,7 @@
|
|||
"isPublic": "false",
|
||||
"subnetName": "data",
|
||||
"privateIPAllocationMethod": "Static",
|
||||
"startingIPAddress": "10.0.2.240",
|
||||
"startingIPAddress": "10.0.3.240",
|
||||
"enableIPForwarding": false,
|
||||
"domainNameLabelPrefix": "",
|
||||
"dnsServers": [
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
"vnetName": "[parameters('context').vnetName]",
|
||||
"vnetResourceGroup": "[parameters('context').vnetResourceGroup]",
|
||||
"vmName": "[variables('vmName')]",
|
||||
"vmIndex": "[add(parameters('iteration'), parameters('context').deployedVMCount)]"
|
||||
"vmIndex": "[add(parameters('iteration'), parameters('context').vmNamePostFixStartIndex)]"
|
||||
}
|
||||
},
|
||||
"mapperTemplateUri": { "value": "[uri(deployment().properties.templateLink.uri, 'virtualMachines-nics-settings.json')]" }
|
||||
|
@ -93,7 +93,7 @@
|
|||
"vnetName": "[parameters('context').vnetName]",
|
||||
"storageAccounts": "[parameters('context').storageAccounts]",
|
||||
"vmName": "[variables('vmName')]",
|
||||
"vmIndex": "[parameters('iteration')]"
|
||||
"vmIndex": "[add(parameters('iteration'), parameters('context').vmNamePostFixStartIndex)]"
|
||||
}
|
||||
},
|
||||
"mapperTemplateUri": { "value": "[uri(deployment().properties.templateLink.uri, 'virtualMachine-datadisk.json')]" },
|
||||
|
|
Загрузка…
Ссылка в новой задаче