From cc135a21ff9fec4647b1edf52945886f28c6faf3 Mon Sep 17 00:00:00 2001 From: adminbruno Date: Wed, 22 Jun 2022 13:00:36 -0400 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Importation=20Imag?= =?UTF-8?q?es=20QCOW2'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Importation-Images-QCOW2.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Importation-Images-QCOW2.md diff --git a/Importation-Images-QCOW2.md b/Importation-Images-QCOW2.md new file mode 100644 index 0000000..69de3e7 --- /dev/null +++ b/Importation-Images-QCOW2.md @@ -0,0 +1,18 @@ +Possibilité de la faire depuis l'interface Admin. + +OU! + +On the hypervisor where the files are located, install the required packages: + + dnf install ovirt-imageio-client python3-ovirt-engine-sdk4 + +And upload the image: + + python3 /usr/share/doc/python3-ovirt-engine-sdk4/examples/upload_disk.py \ + --engine-url https://my.engine/ \ + --username admin@internal \ + --password-file /path/to/password/file \ + --cafile /path/to/cafile \ + --sd-name my-storage-domain \ + --disk-sparse \ + /path/to/image.qcow2 \ No newline at end of file