Skip to content

Commit 8d7a996

Browse files
author
gitName
committed
User Feedback 418640: Fix outdated image
1 parent b82874b commit 8d7a996

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

learn-pr/azure/choose-compute-provisioning/includes/5-exercise-deploy-template.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ In the following exercise, you use a Resource Manager template to provision a vi
1414

1515
Let's start by obtaining a configuration file and an Azure Resource Manager template from GitHub.
1616

17+
1. 1. In the Cloud Shell window on the right side of the screen, select the **More** icon (**...**), then select **Settings** > **Go to Classic version**.
18+
1719
1. In Azure Cloud Shell instance on the right, run the following command to clone the GitHub repository.
1820

1921
```bash
@@ -108,6 +110,40 @@ The GitHub repository that you cloned, also contains a Resource Manager template
108110
},
109111
```
110112

113+
1. Let's also update the virtual machine image in the template. Find the following code in the *template.json* file:
114+
115+
```json
116+
"imageSKU": {
117+
"type": "string",
118+
"defaultValue": "2012-R2-Datacenter",
119+
"allowedValues": [
120+
"2008-R2-SP1",
121+
"2012-Datacenter",
122+
"2012-R2-Datacenter"
123+
],
124+
"metadata": {
125+
"description": "Image SKU"
126+
}
127+
},
128+
```
129+
130+
1. Update the code as follows so that it looks like this code:
131+
132+
```json
133+
"imageSKU": {
134+
"type": "string",
135+
"defaultValue": "2019-Datacenter",
136+
"allowedValues": [
137+
"2008-R2-SP1",
138+
"2012-Datacenter",
139+
"2019-Datacenter"
140+
],
141+
"metadata": {
142+
"description": "Image SKU"
143+
}
144+
},
145+
```
146+
111147
1. Save the template by pressing <kbd>Ctrl+S</kbd>.
112148
113149
In the `<variables>` section of the *template.json* file, notice that values are stored to configure networking for a virtual machine.

0 commit comments

Comments
 (0)