Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e63fc6d

Browse files
committedFeb 15, 2022
one more
1 parent 68abf20 commit e63fc6d

File tree

5 files changed

+22
-19
lines changed

5 files changed

+22
-19
lines changed
 
Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,45 @@
11
---
2-
title: Create an Azure DevTest Labs custom image from a VM
3-
description: Learn how to create a custom image in Azure DevTest Labs from a provisioned VM using the Azure portal
2+
title: Create a custom image from a lab VM
3+
description: Learn how to create a custom image from a provisioned virtual machine in Azure DevTest Labs by using the Azure portal.
44
ms.topic: how-to
5-
ms.date: 06/26/2020
5+
ms.date: 02/15/2022
66
---
77

88
# Create a custom image from a VM
99

10+
This article describes how to create a custom image from a provisioned Azure DevTest Labs virtual machine (VM). The custom image includes the OS disk and all the data disks attached to the VM. Lab users can use the custom image to create identical provisioned lab VMs.
11+
1012
[!INCLUDE [devtest-lab-custom-image-definition](../../includes/devtest-lab-custom-image-definition.md)]
1113

1214
## Step-by-step instructions
1315

14-
You can create a custom image from a provisioned VM, and afterwards use that custom image to create identical VMs. The following steps illustrate how to create a custom image from a VM:
16+
To create a custom image from a lab VM, take the following steps:
1517

16-
1. Sign in to the [Azure portal](https://go.microsoft.com/fwlink/p/?LinkID=525040).
18+
1. In the [Azure portal](https://go.microsoft.com/fwlink/p/?LinkID=525040), on your lab's **Overview** page, select the VM you want to use from the list under **My virtual machines**.
1719

18-
1. Select **All services**, and then select **DevTest Labs** from the list.
20+
:::image type="content" source="./media/devtest-lab-create-custom-image-vm/overview-page.png" alt-text="Screenshot that shows a V M selected on a lab's Overview page.":::
1921

20-
1. From the list of labs, select the desired lab.
22+
1. On the VM's **Overview** page, select **Create custom image** under **Operations** in the left navigation.
2123

22-
1. On the lab's main pane, select **My virtual machines**.
23-
24-
1. On the **My virtual machines** pane, select the VM from which you want to create the custom image.
24+
1. On the **Create custom image** page, enter a **Name** and optional **Description** for the custom image.
2525

26-
1. On the VM's management pane, select **Create custom image** under **OPERATIONS**.
26+
1. Under **Image preparation**, select one of the following options:
2727

28-
:::image type="content" source="./media/devtest-lab-create-template/create-custom-image.png" alt-text="Create custom image menu item":::
29-
1. On the **Custom image** pane, enter a name and description for your custom image. This information is displayed in the list of bases when you create a VM. The custom image will include the OS disk and all the data disks attached to the virtual machine.
28+
- **I have not generalized this virtual machine** if you haven't run sysprep and don't want to run sysprep when creating the custom image
29+
- **I have already generalized this virtual machine** if you already ran sysprep on the VM
30+
- **Generalize this virtual machine (Run sysprep)** if you haven't run sysprep and want sysprep to be run on the VM when creating the custom image.
3031

31-
:::image type="content" source="./media/devtest-lab-create-template/create-custom-image-blade.png" alt-text="Create custom image page":::
32-
1. Select whether sysprep was run on the VM. If the sysprep was not run on the VM, specify whether you want sysprep to be run on the VM when the custom image is created.
33-
1. Select **OK** when finished to create the custom image.
32+
1. Select **OK**.
3433

35-
After a few minutes, the custom image is created and is stored inside the lab’s storage account. When a lab user wants to create a new VM, the image is available in the list of base images.
34+
:::image type="content" source="./media/devtest-lab-create-custom-image-vm/create-custom-image.png" alt-text="Screenshot that shows the Create custom image selection on a V M's Overview page.":::
3635

37-
:::image type="content" source="./media/devtest-lab-create-template/custom-image-available-as-base.png" alt-text="custom image available in list of base images":::
36+
The custom image is created and stored in the lab's storage account. The image is available in the list of base images for creating a new lab VM.
3837

38+
:::image type="content" source="./media/devtest-lab-create-custom-image-vm/custom-image-available-as-base.png" alt-text="Screenshot that shows custom images available in the list of VM base images.":::
3939

4040
## Next steps
4141

4242
- [Add a VM to your lab](devtest-lab-add-vm.md)
43+
- [Create a custom image from a VHD file](devtest-lab-create-template.md)
44+
- [Compare custom images and formulas in DevTest Labs](devtest-lab-comparing-vm-base-image-types.md)
45+
- [Create a custom image factory in Azure DevTest Labs](image-factory-create.md)

‎articles/devtest-labs/devtest-lab-resize-vm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Azure DevTest Labs supports changing the size of a lab virtual machine (VM), bas
1414
1515
## Stop the VM
1616

17-
To prevent losing work, disconnect from and stop the VM before resizing it.
17+
To avoid losing work, disconnect from and stop the VM before resizing it.
1818

1919
1. If you're connected to the VM through secure shell (SSH) or remote desktop session (RDP), save your work and disconnect from the VM.
2020

Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.