// Module included in the following assemblies:
//
// * installing/installing_alibaba/installing-alibaba-assisted-installer.adoc

:_mod-docs-content-type: PROCEDURE
[id="alibaba-ai-converting-image-to-qcow2_{context}"]
= Converting the discovery image to QCOW2 format

[role="_abstract"]
Convert the generated ISO to `QCOW2` format before importing it into {alibaba}.

.Prerequisites

* You have created a cluster and downloaded the discovery image in the {ai-full}.
* You have access to a Linux machine that is outside the cluster, such as your desktop machine.

.Procedure

. Open the command-line interface on the Linux machine.

. Verify that the system has virtualization flags enabled by running the following command:
+
[source,terminal]
----
$ grep -e lm -e svm -e vmx /proc/cpuinfo
----

. Install the `qemu-img` package on a {op-system-base} or Fedora machine by running the following command:
+
[source,terminal]
----
$ sudo dnf install -y qemu-img
----
+
[NOTE]
====
If your system uses the `APT` package manager, install the package using the name `qemu-utils` instead.
====

. Convert the image to `QCOW2` by running the following command:
+
[source,terminal]
----
$ qemu-img convert -O qcow2 ${CLUSTER_NAME}.iso ${CLUSTER_NAME}.qcow2
----
