Introduction
EVE-OS supports workloads packaged as virtual machine images in QCOW2 format. This procedure walks through creating a Red Hat Enterprise Linux (RHEL) virtual machine in VirtualBox, installing the operating system, and converting the VM disk to QCOW2 for use with EVE-OS. The resulting image can be uploaded to your enterprise as an edge application.Prerequisites
- Red Hat Enterprise Linux ISO image. Download from the Red Hat Developer portal.
- VirtualBox 6.1 or later installed on your local machine.
Create the Virtual Machine
- Open VirtualBox Manager and click New to create a new VM.
- Enter a name for the VM and select the appropriate type and version for Red Hat Linux. Click Continue.
- Set the memory size. Use a minimum of 4 GB. Click Continue.
- Select Create a virtual hard disk now and click Continue.
- Choose VMDK as the disk type. Click Continue.
- Choose Dynamically allocated storage. Click Continue.
- Set the file location and size. Use a minimum of 30 GB. The default location is acceptable. Click Create.
Configure the VM Settings
- Open the VM Settings, navigate to System, and confirm the following:
- Boot order: CD-ROM first, then hard disk.
- All three options in the Extended Features section are enabled.
- Navigate to Storage and attach the Red Hat ISO to the optical drive.
- If you are using a KVM-based EVE-OS image, navigate to Settings > Storage and change the disk controller type to VirtIO.
Review the Final Configuration
Confirm that the VM configuration matches your intended setup before starting installation.Install Red Hat Enterprise Linux
Start the VM and complete the RHEL installation. The installer launches from the attached ISO. Follow the on-screen prompts to complete the installation, including language and locale selection, installation destination (select the virtual disk), network and hostname configuration, and root password and user account creation. After installation completes, shut down the VM.Convert the VM Disk to QCOW2
After the OS installation is complete, convert the VMDK disk file to QCOW2 format. Run the following command from the directory containing the VMDK file:redhatvm.qcow2 is ready to upload to EVE-OS as a VM application image.
Next Steps
Manage an App Image
Upload the QCOW2 image to your enterprise.
Add an Edge App Image
Add the QCOW2 image as a deployable edge application.