Skip to main content
Version: 2023.3

Create VM using the qcow2 Image File (KVM)

Use the following steps to create a VM on your Centos 7 machine (CentOS 7.2 and up).

note

Your CPU must have hardware virtualization support (Intel VT-x or AMD-V) to be able to use KVM.

To create a VM by deploying the OVF template:

  1. Make sure you have the Linux Execution Server installation files in a temporary location. For details, see Downloading the Linux Virtual Appliance Image.

  2. Login to your machine as root user.

  3. Navigate to the directory where the installation files were downloaded. Create a backup copy of the qcow2 image file.

  4. Move the qcow2 image file to the directory where you want to place the VM.

  5. In the Linux desktop, open Virt-manager and click Create a new virtual machine .

  6. In the New VM window, in the Name field, enter a name for the VM.

  7. Select Import existing disk image and click Forward.

  8. Click Browse and navigate to the path of the qcow2 image file. Select the image file and click Open. Click Forward.

  9. For memory and CPU settings, specify values that match your system. For the purposes of this procedure, the values 4 GB RAM (4096 MB) and 4 CPUs are used. Click Forward.

  10. Select Customize configuration before install. Click Finish.

    The details of the VM to be created are displayed.

  11. From the left pane, select IDE Disk 1. Click Advanced options.

  12. Ensure that IDE is selected in the Disk bus field.

  13. In the Storage format field, select qcow2. Click Apply.

  14. Click .

    The VM is created.

  15. Next, Log into the VM.