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: azure-local/manage/virtual-machine-image-azure-compute-gallery.md
+26-20Lines changed: 26 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,15 @@ Before you begin, make sure that the following prerequisites are completed.
28
28
- The VHDX image must be Gen 2 type and secure boot enabled.
29
29
- The VHDX image must be prepared using `sysprep /generalize /shutdown /oobe`. For more information, see [Sysprep command-line options](/windows-hardware/manufacture/desktop/sysprep-command-line-options).
30
30
31
-
## Export image to managed disk
31
+
## Create an Azure Local VM image from Azure Compute Gallery
32
+
33
+
Follow these steps to create an Azure Local VM image using Azure CLI.
To transfer your Azure Compute Gallery image to be an Azure Local compatible image, you need to export your Azure Compute Gallery image version to a managed disk.
34
42
@@ -40,9 +48,9 @@ To transfer your Azure Compute Gallery image to be an Azure Local compatible ima
40
48
az disk grant-access --resource-group $resourceGroupName --name $diskName --duration-in-seconds $sasExpiryDuration --query [accessSas] -o tsv
41
49
```
42
50
43
-
## Set parameters
51
+
### Set parameters
44
52
45
-
Before creating an Azure Local VM image, you'll first need to set some parameters:
53
+
Before creating an Azure Local VM image, you'll need to set some parameters.
46
54
47
55
1. Set your subscription, resource group, location, path to the image in local share, and OS type for the image. Replace the parameters in `< >` with the appropriate values.
48
56
@@ -66,15 +74,15 @@ The parameters are described in the following table:
@@ -96,14 +104,12 @@ To create an Azure Local VM image:
96
104
97
105
If the flag is not specified, the workload data is automatically placed in a high availability storage path.
98
106
99
-
The image deployment takes a few minutes to complete. The time taken to download the image depends on the size of the image and the network bandwidth available for the download.
107
+
The image deployment takes a few minutes to complete. The time taken to download the image depends on the size of the image and the network bandwidth available for the download.
0 commit comments