Skip to content

Commit 7948ed8

Browse files
authored
Merge pull request #87 from jacobb42/master
Use subscription ID as the default password
2 parents b4a9073 + 9f80cea commit 7948ed8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

101-simple-windows-vm/azuredeploy.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
"adminPassword": {
2424
"type": "securestring",
2525
"metadata": {
26-
"description": "Password for the Virtual Machine."
27-
}
26+
"description": "The password for the Administrator account of the new VMs. Default value is subscription id"
27+
},
28+
"defaultValue": "[substring(resourcegroup().id,15,36)]"
2829
},
2930
"dnsNameForPublicIP": {
3031
"type": "string",

101-simple-windows-vm/azuredeploy.parameters.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"adminUsername": {
1212
"value": "admin123"
1313
},
14-
"adminPassword": {
15-
"value": "GEN-PASSWORD"
16-
},
1714
"dnsNameForPublicIP": {
1815
"value": "mydns001"
1916
},

0 commit comments

Comments
 (0)