parent
b37348aa8f
commit
cc135a21ff
@ -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
|
||||||
Loading…
Reference in new issue