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
# Prepare a CentOS Linux image for Azure Local virtual machines (preview)
12
+
# Prepare a CentOS Linux image for Azure Local VMs enabled by Azure Arc (preview)
13
13
14
14
> [!CAUTION]
15
15
> This article references CentOS, a Linux distribution that's reached end-of-life (EOL). Consider your use of CentOS and plan accordingly. For more information, see [CentOS end-of-life guidance](/azure/virtual-machines/workloads/centos/centos-end-of-life).
This article describes how to prepare a CentOS Linux image to create a virtual machine (VM) on your Azure Local. You use the Azure CLI for the VM image creation.
19
+
This article describes how to use Azure CLI to prepare a CentOS Linux image and create an Azure Local virtual machine (VM).
20
20
21
21
## Prerequisites
22
22
23
-
Before you begin, meet the following prerequisites:
24
-
25
23
- Have access to an Azure Local instance that is deployed, registered, and connected to Azure Arc. Go to the **Overview** page in the Azure Local resource. On the **Server** tab on the right pane, **Azure Arc** should appear as **Connected**.
26
-
-[Download the latest supported ISO image](http://repo1.sea.innoscale.net/centos/7.9.2009/isos/x86_64/) on your Azure Local instance. Here, we downloaded the *CentOS-7-x86_64-Everything-2207-02.iso* file. You use this image to create a VM image.
24
+
-[Download the latest supported ISO image](http://repo1.sea.innoscale.net/centos/7.9.2009/isos/x86_64/) on your Azure Local instance. Here, we downloaded the *CentOS-7-x86_64-Everything-2207-02.iso* file.
27
25
28
26
## Workflow
29
27
30
-
To prepare a CentOS image and create a VM image from that image:
28
+
To prepare a CentOS image and create an Azure Local VM image from it:
31
29
32
30
1.[Create a CentOS VM](#step-1-create-a-centos-vm)
33
31
1.[Connect to a VM and install CentOS](#step-2-connect-to-a-vm-and-install-centos)
@@ -40,43 +38,42 @@ The following sections provide detailed instructions for each step in the workfl
40
38
## Create a VM image from a CentOS image
41
39
42
40
> [!IMPORTANT]
43
-
> - Do not use an Azure Virtual Machine VHD disk to prepare the VM image for Azure Local.
41
+
>
42
+
> - Do not use a virtual hard disk from an Azure VM to prepare the Azure Local VM image.
44
43
> - We recommend that you prepare a CentOS image if you intend to enable guest management on the VMs.
45
44
46
-
Follow these steps on your Azure Local to create a VM image by using the Azure CLI.
47
-
48
45
### Step 1: Create a CentOS VM
49
46
50
-
To use the downloaded CentOS image to provision a VM:
47
+
Follow these steps to provision a VM using the downloaded CentOS image.
51
48
52
-
1.Use the downloaded image to create a VM with the following specifications:
49
+
1.Set up the VM with the following specifications:
53
50
1. Provide a friendly name for your VM.
54
-
51
+
55
52
:::image type="content" source="../manage/media/virtual-machine-image-centos/centos-virtual-machine-name.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Specify Name and Location page." lightbox="../manage/media/virtual-machine-image-centos/centos-virtual-machine-name.png":::
56
53
57
-
1. Specify **Generation 2** for your VM as you're working with a VHDX image here.
54
+
1. Specify **Generation 2** for your VM as you're working with a virtual hard disk v2 (VHDX) image here.
58
55
59
56
:::image type="content" source="../manage/media/virtual-machine-image-centos/centos-virtual-machine-generation.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Specify Generation page." lightbox="../manage/media/virtual-machine-image-centos/centos-virtual-machine-generation.png":::
60
-
57
+
61
58
1. Assign **4096** for **Startup memory**.
62
-
59
+
63
60
:::image type="content" source="../manage/media/virtual-machine-image-centos/centos-virtual-machine-assign-memory.png" alt-text="Screenshot that shows the Assign Memory page." lightbox="../manage/media/virtual-machine-image-centos/centos-virtual-machine-assign-memory.png":::
64
61
65
62
1. Select the virtual network switch that the VM uses for connection.
66
63
67
64
:::image type="content" source="../manage/media/virtual-machine-image-centos/centos-virtual-machine-configure-networking.png" alt-text="Screenshot that shows the Configure Networking page." lightbox="../manage/media/virtual-machine-image-centos/centos-virtual-machine-configure-networking.png":::
68
-
65
+
69
66
1. Accept the defaults on the **Connect Virtual Hard Disk** page.
70
67
71
68
:::image type="content" source="../manage/media/virtual-machine-image-centos/centos-virtual-machine-connect-virtual-hard-disk.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Connect Virtual Hard Disk page." lightbox="../manage/media/virtual-machine-image-centos/centos-virtual-machine-connect-virtual-hard-disk.png":::
72
69
73
70
1. Select **Install operating system from a bootable image**. Point to the ISO that you downloaded earlier.
74
-
71
+
75
72
:::image type="content" source="../manage/media/virtual-machine-image-centos/centos-virtual-machine-iso-option.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Installation Options page." lightbox="../manage/media/virtual-machine-image-centos/centos-virtual-machine-iso-option.png":::
76
73
77
74
For step-by-step instructions, see [Provision a VM by using Hyper-V Manager](/windows-server/virtualization/hyper-v/get-started/create-a-virtual-machine-in-hyper-v?tabs=hyper-v-manager#create-a-virtual-machine).
78
75
79
-
1. Use the UEFI certificate to secure boot the VM:
76
+
1. Use the Unified Extensible Firmware Interface (UEFI) certificate to secure boot the VM:
80
77
81
78
1. After the VM is created, it shows up in Hyper-V Manager. Select the VM, right-click it, and then select **Settings**.
82
79
1. On the left pane, select the **Security** tab. Then under **Secure Boot**, from the **Template** dropdown list, select **Microsoft UEFI Certificate Authority**.
@@ -142,7 +139,7 @@ To configure the VM:
142
139
143
140
### Step 4: Clean up the residual configuration
144
141
145
-
Delete machine-specific files and data from your VM so that you can create a clean VM image without any history or default configurations. Follow these steps on your Azure Local to clean up the residual configuration.
142
+
Delete machine-specific files and data from your VM so that you can create a clean VM image without any history or default configurations. To clean up the residual configuration, follow these steps on your Azure Local:
146
143
147
144
1. Clean the `cloud-init` default configurations.
148
145
@@ -176,4 +173,4 @@ Delete machine-specific files and data from your VM so that you can create a cle
176
173
177
174
## Related content
178
175
179
-
- [Create Azure Arc VMs](./manage-virtual-machines-in-azure-portal.md) on your Azure Local instance.
176
+
- [Create Azure Local VMs](./manage-virtual-machines-in-azure-portal.md) on your Azure Local instance.
This article describes how to prepare an Ubuntu image to create a virtual machine (VM) on your Azure Local. You use the Azure CLI for the VM image creation.
16
+
This article describes how to use Azure CLI to prepare an Ubuntu image and create an Azure Local virtual machine (VM).
17
17
18
18
## Prerequisites
19
19
20
-
Before you begin, meet the following prerequisites:
21
-
22
20
- Have access to an Azure Local instance. This system is deployed, registered, and connected to Azure Arc. Go to the **Overview** page in the Azure Local resource. On the **Server** tab on the right pane, **Azure Arc** should appear as **Connected**.
23
-
-[Download the latest supported Ubuntu server image](https://ubuntu.com/download/server) on your Azure Local system. The supported OS versions are *Ubuntu 20.04*, *22.04*, and *24.04 LTS*. You prepare this image to create an Azure Local VM image.
21
+
-[Download the latest supported Ubuntu server image](https://ubuntu.com/download/server) on your Azure Local system. The supported OS versions are *Ubuntu 20.04*, *22.04*, and *24.04 LTS*.
24
22
25
23
## Workflow
26
24
27
-
To prepare an Ubuntu image and create a VM image from that image:
25
+
To prepare an Ubuntu image and create an Azure Local VM image from it:
28
26
29
27
1.[Create an Ubuntu VM](#step-1-create-an-ubuntu-vm)
30
28
1.[Configure the VM](#step-2-configure-the-vm)
@@ -36,26 +34,25 @@ The following sections provide detailed instructions for each step in the workfl
36
34
## Create a VM image from an Ubuntu image
37
35
38
36
> [!IMPORTANT]
39
-
> - Do not use an Azure Virtual Machine VHD disk to prepare the VM image for Azure Local.
37
+
>
38
+
> - Do not use a virtual hard disk from an Azure VM to prepare the Azure Local VM image.
40
39
> - We recommend that you prepare an Ubuntu image if you intend to enable guest management on the VMs.
41
40
42
-
Follow these steps on your Azure Local to create a VM image by using the Azure CLI.
43
-
44
41
### Step 1: Create an Ubuntu VM
45
42
46
-
To use the downloaded Ubuntu image to provision a VM:
43
+
Follow these steps to provision a VM using the downloaded Ubuntu image.
47
44
48
-
1.Use the downloaded image to create a VM with the following specifications:
45
+
1.Set up the VM with the following specifications:
49
46
1. Provide a friendly name for your VM.
50
-
47
+
51
48
:::image type="content" source="../manage/media/virtual-machine-image-linux-sysprep/ubuntu-virtual-machine-name.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Specify Name and Location page." lightbox="../manage/media/virtual-machine-image-linux-sysprep/ubuntu-virtual-machine-name.png":::
52
49
53
-
1. Specify **Generation 2** for your VM as you're working with a VHDX image here.
50
+
1. Specify **Generation 2** for your VM as you're working with a virtual hard disk extended image here.
54
51
55
52
:::image type="content" source="../manage/media/virtual-machine-image-linux-sysprep/ubuntu-virtual-machine-generation.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Specify Generation page." lightbox="../manage/media/virtual-machine-image-linux-sysprep/ubuntu-virtual-machine-generation.png":::
56
-
53
+
57
54
1. Select **Install operating system from a bootable image**. Point to the ISO that you downloaded earlier.
58
-
55
+
59
56
:::image type="content" source="../manage/media/virtual-machine-image-linux-sysprep/ubuntu-virtual-machine-iso-option.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Installation Options page." lightbox="../manage/media/virtual-machine-image-linux-sysprep/ubuntu-virtual-machine-iso-option.png":::
60
57
61
58
For step-by-step instructions, see [Provision a VM by using Hyper-V Manager](/windows-server/virtualization/hyper-v/get-started/create-a-virtual-machine-in-hyper-v?tabs=hyper-v-manager#create-a-virtual-machine).
@@ -135,4 +132,4 @@ Delete machine-specific files and data from your VM so that you can create a cle
135
132
136
133
## Related content
137
134
138
-
- [Create Azure Arc VMs](./manage-virtual-machines-in-azure-portal.md) on your Azure Local instance.
135
+
- [Create Azure Local VMs](./manage-virtual-machines-in-azure-portal.md) on your Azure Local instance.
#Customer intent: As a Senior Content Developer, I want to provide customers with content and steps to help them successfully use Red Hat Enterprise Linux to create images on Azure Local.
9
+
ms.date: 03/21/2025
11
10
---
12
11
13
-
# Prepare a Red Hat Enterprise image for Azure Local virtual machines (preview)
12
+
# Prepare a Red Hat Enterprise image for Azure Local VMs enabled by Azure Arc (preview)
This article describes how to prepare a Red Hat Enterprise Linux image to create a virtual machine (VM) on your Azure Local. You use the Azure CLI for the VM image creation.
16
+
This article describes how to use Azure CLI to prepare a Red Hat Enterprise Linux image and create an Azure Local virtual machine (VM).
18
17
19
18
## Prerequisites
20
19
21
-
Before you begin, meet the following prerequisites:
22
-
23
20
- Have access to an Azure Local instance. This system is deployed, registered, and connected to Azure Arc. Go to the **Overview** page in the Azure Local resource. On the **Server** tab on the right pane, **Azure Arc** should appear as **Connected**.
24
-
-[Download the latest supported Red Hat Enterprise server image](https://developers.redhat.com/products/rhel/download#rhel-new-product-download-list-61451) on your Azure Local instance. We support all Red Hat Enterprise Linux 7.x, 8.x, and 9.x versions. Here, we downloaded the *rhel-9.4-x86_64-boot.iso* file. You use this image to create a VM image.
21
+
-[Download the latest supported Red Hat Enterprise server image](https://developers.redhat.com/products/rhel/download#rhel-new-product-download-list-61451) on your Azure Local instance. We support all Red Hat Enterprise Linux 7.x, 8.x, and 9.x versions. Here, we downloaded the *rhel-9.4-x86_64-boot.iso* file.
25
22
26
23
## Workflow
27
24
28
-
To prepare a Red Hat Enterprise image and create a VM image:
25
+
To prepare a Red Hat Enterprise image and create an Azure Local VM image from it:
29
26
30
27
1.[Create a Red Hat Enterprise VM](./virtual-machine-image-red-hat-enterprise.md#create-a-vm-image-from-a-red-hat-enterprise-image)
31
28
1.[Connect to a VM and install the Red Hat OS](./virtual-machine-image-red-hat-enterprise.md#step-2-connect-to-a-vm-and-install-the-red-hat-os)
@@ -38,22 +35,22 @@ The following sections provide detailed instructions for each step in the workfl
38
35
## Create a VM image from a Red Hat Enterprise image
39
36
40
37
> [!IMPORTANT]
41
-
> - Do not use an Azure Virtual Machine VHD disk to prepare the VM image for Azure Local.
38
+
>
39
+
> - Do not use a virtual hard disk from an Azure VM to prepare the Azure Local VM image.
42
40
> - We recommend that you prepare a Red Hat Enterprise image if you intend to enable guest management on the VMs.
43
41
44
42
Follow these steps on your Azure Local system to create a VM image by using the Azure CLI.
45
43
46
44
### Step 1: Create a Red Hat Enterprise VM
47
45
48
-
To use the downloaded Red Hat Enterprise image to provision a VM:
49
-
50
-
1. Use the downloaded image to create a VM with the following specifications:
46
+
Follow these steps to provision a VM using the downloaded Red Hat Enterprise image.
51
47
48
+
1. Set up the VM with the following specifications:
52
49
1. Provide a friendly name for your VM.
53
50
54
51
:::image type="content" source="../manage/media/virtual-machine-image-red-hat-enterprise/red-hat-virtual-machine-name-and-location.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Specify Name and Location page." lightbox="../manage/media/virtual-machine-image-red-hat-enterprise/red-hat-virtual-machine-name-and-location.png":::
55
52
56
-
1. Specify **Generation 2** for your VM as you're working with a VHDX image here.
53
+
1. Specify **Generation 2** for your VM as you're working with a virtual hard disk v2 (VHDX) image here.
57
54
58
55
:::image type="content" source="../manage/media/virtual-machine-image-red-hat-enterprise/red-hat-virtual-machine-generation.png" alt-text="Screenshot that shows the New Virtual Machine Wizard on the Specify Generation page." lightbox="../manage/media/virtual-machine-image-red-hat-enterprise/red-hat-virtual-machine-generation.png":::
59
56
@@ -260,4 +257,4 @@ Delete machine-specific files and data from your VM so that you can create a cle
260
257
261
258
## Related content
262
259
263
-
- [Create Azure Arc VMs](./manage-virtual-machines-in-azure-portal.md) on your Azure Local instance.
260
+
- [Create Azure Local VMs](./manage-virtual-machines-in-azure-portal.md) on your Azure Local instance.
0 commit comments