Skip to content

Commit

Permalink
Fix the incorrect computername parameter (Azure#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 authored and Justin Hackett committed Mar 14, 2019
1 parent 3d1e2f1 commit 622e631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parts/k8s/kubernetesagentresourcesvmas.t
Expand Up @@ -185,7 +185,7 @@
},
"osProfile": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"computername": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]",
"computerName": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]",
{{GetKubernetesAgentCustomData .}}
"linuxConfiguration": {
"disablePasswordAuthentication": true,
Expand Down
2 changes: 1 addition & 1 deletion parts/k8s/kubernetesmasterresources.t
Expand Up @@ -859,7 +859,7 @@
},
"osProfile": {
"adminUsername": "[parameters('linuxAdminUsername')]",
"computername": "[concat(variables('masterVMNamePrefix'), copyIndex(variables('masterOffset')))]",
"computerName": "[concat(variables('masterVMNamePrefix'), copyIndex(variables('masterOffset')))]",
{{GetKubernetesMasterCustomData .}}
"linuxConfiguration": {
"disablePasswordAuthentication": true,
Expand Down
2 changes: 1 addition & 1 deletion parts/k8s/kuberneteswinagentresourcesvmas.t
Expand Up @@ -184,7 +184,7 @@
]
},
"osProfile": {
"computername": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]",
"computerName": "[concat(variables('{{.Name}}VMNamePrefix'), copyIndex(variables('{{.Name}}Offset')))]",
{{GetKubernetesWindowsAgentCustomData .}}
"adminUsername": "[parameters('windowsAdminUsername')]",
"adminPassword": "[parameters('windowsAdminPassword')]"
Expand Down

0 comments on commit 622e631

Please sign in to comment.