Skip to content

Commit 4ef389a

Browse files
Incorporate feedback.
1 parent 8dd7e6c commit 4ef389a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/virtual-machines/windows/image-builder-gallery-update-image-version.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If you used [Create an image and distribute to a Shared Image Gallery](image-bui
5555

5656
For Preview, image builder will only support creating custom images in the same Resource Group as the source managed image. Update the resource group name in this example to be the same resource group as your source managed image.
5757

58-
```console
58+
```azurecli-interactive
5959
# Resource group name - we are using ibsigRG in this example
6060
sigResourceGroup=myIBWinRG
6161
# Datacenter location - we are using West US 2 in this example
@@ -75,7 +75,7 @@ vmpassword="password for the VM"
7575

7676
Create a variable for your subscription ID. You can get this using `az account show | grep id`.
7777

78-
```console
78+
```azurecli-interactive
7979
subscriptionID=<Subscription ID>
8080
```
8181

@@ -107,7 +107,7 @@ You can review the example we are about to use by opening the .json file here: [
107107

108108
Download the .json example and configure it with your variables.
109109

110-
```console
110+
```azurecli-interactive
111111
curl https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/8_Creating_a_Custom_Win_Shared_Image_Gallery_Image_from_SIG/helloImageTemplateforSIGfromWinSIG.json -o helloImageTemplateforSIGfromWinSIG.json
112112
sed -i -e "s/<subscriptionID>/$subscriptionID/g" helloImageTemplateforSIGfromWinSIG.json
113113
sed -i -e "s/<rgName>/$sigResourceGroup/g" helloImageTemplateforSIGfromWinSIG.json

articles/virtual-machines/windows/image-builder.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ az provider register -n Microsoft.Storage
6262
We will be using some pieces of information repeatedly, so we will create some variables to store that information.
6363

6464

65-
```console
65+
```azurecli-interactive
6666
# Resource group name - we are using myImageBuilderRG in this example
6767
imageResourceGroup=myWinImgBuilderRG
6868
# Region location
@@ -77,7 +77,7 @@ imageName=aibWinImage
7777

7878
Create a variable for your subscription ID. You can get this using `az account show | grep id`.
7979

80-
```console
80+
```azurecli-interactive
8181
subscriptionID=<Your subscription ID>
8282
```
8383
## Create a resource group
@@ -106,7 +106,7 @@ az role assignment create \
106106

107107
A parameterized image configuration template has been created for you to try. Download the example .json file and configure it with the variables you set previously.
108108

109-
```console
109+
```azurecli-interactive
110110
curl https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/0_Creating_a_Custom_Windows_Managed_Image/helloImageTemplateWin.json -o helloImageTemplateWin.json
111111
112112
sed -i -e "s/<subscriptionID>/$subscriptionID/g" helloImageTemplateWin.json
@@ -119,7 +119,7 @@ sed -i -e "s/<runOutputName>/$runOutputName/g" helloImageTemplateWin.json
119119

120120
You can modify this example, in the terminal using a text editor like `vi`.
121121

122-
```console
122+
```azurecli-interactive
123123
vi helloImageTemplateLinux.json
124124
```
125125

0 commit comments

Comments
 (0)