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-centos.md
+14-17Lines changed: 14 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,22 +12,20 @@ ms.date: 11/06/2024
12
12
# Prepare a CentOS Linux image for Azure Local VMs enabled by Azure Arc (preview)
13
13
14
14
> [!CAUTION]
15
-
> This article references CentOS, a Linux distribution that's reached end of support. 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).
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
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. You use this image to create a VM image.
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,38 +38,37 @@ 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 virtual hard disk to prepare the VM image for Azure Local.
41
+
>
42
+
> - Do not use a virtual hard disk from an Azure virtual machine 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
+
Use the downloaded CentOS image to create a virtual machine on your Azure Local instance and follow these steps:
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
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).
@@ -126,7 +123,7 @@ After the VM is running, follow these steps:
126
123
127
124
To configure the VM:
128
125
129
-
1. Connect and then sign in to the VM by using the root password that you created during the CentOS installation.
126
+
1. Connect and then sign into the VM by using the root password that you created during the CentOS installation.
130
127
1. Make sure that `cloud-init` wasn't installed.
131
128
132
129
```bash
@@ -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:
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
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*. You prepare this image to create an Azure Local VM image.
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 an Azure Virtual Machine VHD disk 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
+
Use the downloaded Ubuntu image to create a virtual machine on your Azure Local instance and follow these steps:
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
50
1. Specify **Generation 2** for your VM as you're working with a VHDX 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).
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.
17
+
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
18
19
19
## Prerequisites
20
20
21
-
Before you begin, meet the following prerequisites:
22
-
23
21
- 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
22
-[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.
25
23
26
24
## Workflow
27
25
28
-
To prepare a Red Hat Enterprise image and create a VM image:
26
+
To prepare a Red Hat Enterprise image and create an Azure Local VM image from it:
29
27
30
28
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
29
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,6 +36,7 @@ The following sections provide detailed instructions for each step in the workfl
38
36
## Create a VM image from a Red Hat Enterprise image
39
37
40
38
> [!IMPORTANT]
39
+
>
41
40
> - Do not use an Azure Virtual Machine VHD disk to prepare the VM image for Azure Local.
42
41
> - We recommend that you prepare a Red Hat Enterprise image if you intend to enable guest management on the VMs.
Copy file name to clipboardExpand all lines: azure-local/manage/virtual-machine-image-suse.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,16 @@ ms.service: azure-local
8
8
ms.custom:
9
9
- devx-track-azurecli
10
10
ms.date: 11/06/2024
11
-
#Customer intent: As a Senior Content Developer, I want to provide customers with content and steps to help them successfully use SUSE Linux to create images on Azure Local.
12
11
---
13
12
14
13
# Prepare SUSE Linux image for Azure Local VMs enabled by Azure Arc (preview)
This article describes how to use a SUSE Linux image to create a virtual machine (VM) on your Azure Local. You use Azure CLI for the VM image creation.
17
+
This article describes how to use Azure CLI to prepare an SUSE Linux image and create an Azure Local virtual machine (VM).
19
18
20
19
## Prerequisites
21
20
22
-
Before you begin, meet the following prerequisites:
23
-
24
21
- 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 in the right-pane, the **Azure Arc** should show as **Connected**.
25
22
26
23
-[Download the SUSE QCOW2](https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.6/images/openSUSE-Leap-15.6.x86_64-NoCloud.qcow2) image file to your local system. Alternatively, you can run the following PowerShell command to download the image:
@@ -31,13 +28,13 @@ Before you begin, meet the following prerequisites:
31
28
32
29
## Workflow
33
30
34
-
To convert the QCOW2 image to VHDX and create a VM image from the VHDX image.
31
+
To convert the QCOW2 image to VHDX and create an Azure Local VM image from the VHDX image:
35
32
36
33
1. [Convert QCOW2 to VHDX](#step-1-convert-qcow2-to-vhdx).
37
34
2. [Create a SUSE VM image](#step-2-create-a-suse-vm-image).
38
35
39
36
> [!IMPORTANT]
40
-
> Do not use an Azure Virtual Machine VHD disk to prepare the VM image for Azure Local.
37
+
> Do not use an Azure Virtual Machine VHD disk to prepare the Azure Local VM image.
41
38
42
39
The following sections provide detailed instructions for each step in the workflow.
43
40
@@ -47,7 +44,7 @@ After the QCOW2 image is downloaded, use the **QEMU disk image utility for Windo
47
44
48
45
The QEMU disk image utility for Windows tool is used to convert, create, and consistently check various virtual disk formats. It's compatible with Hyper-V and other solutions and is optimized for Windows Server (x64).
49
46
50
-
Follow these steps to download the tool and convert the QCOW2 image file to VHDX.
47
+
To convert the QCOW2 image file to VHDX, follow these steps:
51
48
52
49
1. Download the [QEMU disk image utility for Windows](https://cloudbase.it/qemu-img-windows/) tool by clicking the **Download binaries** button for file. Alternatively, you can run the following PowerShell command to download the tool:
0 commit comments