|  |  |  | @ -4,7 +4,7 @@ OU! | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | On the hypervisor where the files are located, install the required packages: | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     dnf install ovirt-imageio-client python3-ovirt-engine-sdk4 | 
			
		
	
		
			
				
					|  |  |  |  | `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. | 
			
		
	
	
		
			
				
					|  |  |  | @ -12,6 +12,7 @@ Le placer ou le copier dans le dossier de l'utilisateur (ex: /home/user/.config/ | 
			
		
	
		
			
				
					|  |  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |  | Créer un fichier de configuration pour l'outils | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | ``` | 
			
		
	
		
			
				
					|  |  |  |  | cat <<EOF >> /home/user/.config/ovirt.conf | 
			
		
	
		
			
				
					|  |  |  |  | [engine1] | 
			
		
	
		
			
				
					|  |  |  |  | engine_url = https://engine1.url | 
			
		
	
	
		
			
				
					|  |  |  | @ -20,12 +21,15 @@ 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 \ | 
			
		
	
		
			
				
					|  |  |  |  |         -c engine1  | 
			
		
	
		
			
				
					|  |  |  |  |         --sd-name my-storage-domain \ | 
			
		
	
		
			
				
					|  |  |  |  |         --disk-sparse \ | 
			
		
	
		
			
				
					|  |  |  |  |         /path/to/image.qcow2 | 
			
		
	
		
			
				
					|  |  |  |  | ``` | 
			
		
	
		
			
				
					|  |  |  |  | python3 /usr/share/doc/python3-ovirt-engine-sdk4/examples/upload_disk.py \ | 
			
		
	
		
			
				
					|  |  |  |  |     -c engine1  | 
			
		
	
		
			
				
					|  |  |  |  |     --sd-name my-storage-domain \ | 
			
		
	
		
			
				
					|  |  |  |  |     --disk-sparse \ | 
			
		
	
		
			
				
					|  |  |  |  |     /path/to/image.qcow2 | 
			
		
	
		
			
				
					|  |  |  |  | ``` |