From dfa38e84b0882d94dc1193c808131545c922d4da Mon Sep 17 00:00:00 2001 From: adminbruno Date: Wed, 22 Jun 2022 13:12:50 -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 | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Importation-Images-QCOW2.md b/Importation-Images-QCOW2.md index 69de3e7..94e04eb 100644 --- a/Importation-Images-QCOW2.md +++ b/Importation-Images-QCOW2.md @@ -5,14 +5,27 @@ OU! On the hypervisor where the files are located, install the required packages: dnf install ovirt-imageio-client python3-ovirt-engine-sdk4 + + +Télécharger le certificat CA de l'Engine. Disponible depuis le petit cadenas du navigateur dans l'interface WEB. +Le placer ou le copier dans le dossier de l'utilisateur (ex: /home/user/.config/ovirt-engine-ca.pem) + +Créer un fichier de configuration pour l'outils + +cat <> /home/user/.config/ovirt.conf +[engine1] +engine_url = https://engine1.url +username = admin@internal +password = mypasswordintextform +cafile = /home/user/.config/ovirt-engine-ca.pem + +EOF And upload the image: +le "-c engine" spécifie le nom dans le ficher de config [engine1] 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 \ + -c engine1 --sd-name my-storage-domain \ --disk-sparse \ /path/to/image.qcow2 \ No newline at end of file