You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/dev-box/how-to-customize-devbox-azure-image-builder.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,9 @@ To provision a custom image that you created by using VM Image Builder, you need
41
41
42
42
## Create a Windows image and distribute it to Azure Compute Gallery
43
43
44
-
The first step is to use Azure VM Image Builder and Azure PowerShell to create an image version in Azure Compute Gallery and then distribute the image globally. You can also do this task by using the Azure CLI.
44
+
The first step is to use Azure VM Image Builder and Azure PowerShell to create an image in Azure Compute Gallery and distribute it globally.
45
+
46
+
The following example uses PowerShell. You can also use the Azure Command-Line Interface (CLI).
45
47
46
48
1. To use VM Image Builder, you need to register the features.
47
49
@@ -99,7 +101,7 @@ The first step is to use Azure VM Image Builder and Azure PowerShell to create a
99
101
100
102
1. Create a user-assigned identity and set permissions on the resource group by running the following code in PowerShell.
101
103
102
-
VM Image Builder uses the provided user identity to inject the image into Azure Compute Gallery. The following example creates an Azure role definition with specific actions for distributing the image. The role definition is then assigned to the user identity.
104
+
VM Image Builder uses the user identity you provide to store the image in Azure Compute Gallery. The following example creates an Azure role definition with specific actions for distributing the image. The role definition is then assigned to the user identity.
103
105
104
106
```powershell
105
107
# Set up role definition names, which need to be unique
@@ -119,7 +121,7 @@ The first step is to use Azure VM Image Builder and Azure PowerShell to create a
119
121
120
122
1. Assign permissions for the identity to distribute the images.
121
123
122
-
Use this command to download an Azure role definition template, and then update it with the previously specified parameters:
124
+
Use this command to download an Azure role definition template, and update it with the previously specified parameters:
@@ -140,7 +142,7 @@ The first step is to use Azure VM Image Builder and Azure PowerShell to create a
140
142
141
143
## Create a gallery
142
144
143
-
To use VM Image Builder with Azure Compute Gallery, you need to have an existing gallery and image definition. VM Image Builder doesn't create the gallery and image definition for you.
145
+
To use VM Image Builder with Azure Compute Gallery, make sure you have an existing gallery and image definition. VM Image Builder doesn't create the gallery and image definition for you.
144
146
145
147
1. Run the following commands to create a new gallery and image definition.
146
148
@@ -308,11 +310,11 @@ To use VM Image Builder with Azure Compute Gallery, you need to have an existing
308
310
309
311
## Configure the gallery
310
312
311
-
After your custom image is provisioned in the gallery, you can configure the gallery to use the images in the dev center. For more information, see [Configure Azure Compute Gallery](./how-to-configure-azure-compute-gallery.md).
313
+
When your custom image is stored in the gallery, you can configure the gallery to use the images in the dev center. For more information, see [Configure Azure Compute Gallery](./how-to-configure-azure-compute-gallery.md).
312
314
313
315
## Set up Microsoft Dev Box with a custom image
314
316
315
-
After the gallery images are available in the dev center, you can use the custom image with Microsoft Dev Box. For more information, see [Quickstart: Configure Microsoft Dev Box](./quickstart-configure-dev-box-service.md).
317
+
When the gallery images are available in the dev center, you can use the custom image with Microsoft Dev Box. For more information, see [Quickstart: Configure Microsoft Dev Box](./quickstart-configure-dev-box-service.md).
0 commit comments