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
In this article, you'll learn how to prepare a Red Hat Enterprise Linux (RHEL) virtual machine for use in Azure. The versions of RHEL that are covered in this article are 6.Xand 7.X The hypervisors for preparation that are covered in this article are Hyper-V, kernel-based virtual machine (KVM), and VMware. For more information about eligibility requirements for participating in Red Hat's Cloud Access program, see [Red Hat's Cloud Access website](https://www.redhat.com/en/technologies/cloud-computing/cloud-access) and [Running RHEL on Azure](https://access.redhat.com/ecosystem/ccsp/microsoft-azure). For ways to automate building RHEL images, see [Azure Image Builder](../image-builder-overview.md).
19
+
In this article, you'll learn how to prepare a Red Hat Enterprise Linux (RHEL) virtual machine for use in Azure. The versions of RHEL that are covered in this article are 6.X, 7.X and 8.X. The hypervisors for preparation that are covered in this article are Hyper-V, kernel-based virtual machine (KVM), and VMware. For more information about eligibility requirements for participating in Red Hat's Cloud Access program, see [Red Hat's Cloud Access website](https://www.redhat.com/en/technologies/cloud-computing/cloud-access) and [Running RHEL on Azure](https://access.redhat.com/ecosystem/ccsp/microsoft-azure). For ways to automate building RHEL images, see [Azure Image Builder](../image-builder-overview.md).
20
20
> [!NOTE]
21
21
> Be aware of versions that are End Of Life (EOL) and no longer supported by Redhat. Uploaded image that are, at or beyond EOL will be supported on a reasonable business effort basis. Link to Redhat's [Product Lifecycle](https://access.redhat.com/product-life-cycles/?product=Red%20Hat%20Enterprise%20Linux,OpenShift%20Container%20Platform%204)
22
22
@@ -38,7 +38,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
38
38
***Kernel support for mounting Universal Disk Format (UDF) file systems is required**. At first boot on Azure, the UDF-formatted media that is attached to the guest passes the provisioning configuration to the Linux virtual machine. The Azure Linux Agent must be able to mount the UDF file system to read its configuration and provision the virtual machine, without this, provisioning will fail!
39
39
* Don't configure a swap partition on the operating system disk. More information about this can be found in the following steps.
40
40
41
-
* All VHDs on Azure must have a virtual size aligned to 1MB. When converting from a raw disk to VHD you must ensure that the raw disk size is a multiple of 1MB before conversion. . More details can be found in the steps below. See also [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
41
+
* All VHDs on Azure must have a virtual size aligned to 1MB. When converting from a raw disk to VHD you must ensure that the raw disk size is a multiple of 1MB before conversion. More details can be found in the steps below. See also [Linux Installation Notes](create-upload-generic.md#general-linux-installation-notes) for more information.
42
42
43
43
44
44
> [!NOTE]
@@ -159,10 +159,10 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
159
159
> [!NOTE]
160
160
> If you're migrating a specific virtual machine and don't wish to create a generalized image, skip the deprovision step
161
161
162
-
```bash
162
+
```bash
163
163
sudo waagent -force -deprovision
164
-
export HISTSIZE=0
165
-
```
164
+
sudo export HISTSIZE=0
165
+
```
166
166
167
167
16. Click **Action** > **Shut Down** in Hyper-V Manager. Your Linux VHD is now ready to be [**uploaded to Azure**](./upload-vhd.md#option-1-upload-a-vhd).
168
168
@@ -312,7 +312,7 @@ This section assumes that you've already obtained an ISO file from the Red Hat w
312
312
313
313
Previously, the Azure Linux Agent was used automatically configure swap space by using the local resource disk that is attached to the virtual machine after the virtual machine is provisioned on Azure. However this is now handled by cloud-init, you **must not** use the Linux Agent to format the resource disk create the swap file, modify the following parameters in `/etc/waagent.conf` appropriately:
314
314
315
-
```bash
315
+
```config
316
316
ResourceDisk.Format=n
317
317
ResourceDisk.EnableSwap=n
318
318
```
@@ -736,7 +736,6 @@ This section shows you how to use KVM to prepare a [RHEL 6](#rhel-6-using-kvm) o
736
736
MB=$((1024*1024))
737
737
size=$(qemu-img info -f raw --output json "rhel-6.9.raw"| \
8. Modify the kernel boot line in your grub configuration to include additional kernel parameters forAzure. To do this configuration, open `/etc/default/grub`in a text editor, and edit the `GRUB_CMDLINE_LINUX` parameter. For example:
@@ -1466,3 +1465,4 @@ For more details, see the information about [rebuilding initramfs](https://acces
1466
1465
* You're now ready to use your Red Hat Enterprise Linux virtual hard disk to create new virtual machines in Azure. If this is the first time that you're uploading the .vhd file to Azure, see [Create a Linux VM from a custom disk](upload-vhd.md#option-1-upload-a-vhd).
1467
1466
* For more details about the hypervisors that are certified to run Red Hat Enterprise Linux, see [the Red Hat website](https://access.redhat.com/certified-hypervisors).
1468
1467
* To learn more about using production-ready RHEL BYOS images, go to the documentation page for [BYOS](../workloads/redhat/byos.md).
0 commit comments