download virtualization image from <uri> [routing-instance <name>]
Downloads a remote image to the /var/lib/libvirt/images folder by using HTTP, HTTPS, FTP, SFTP, or SCP.
- uri
- An HTTP, HTTPS, FTP, SFTP, or SCP location for an image.
- image-path
An image location relative to the /var/lib/libvirt/images folder.
- username username-text
- Specifies a username.
- password password-text
- Specifies a password. The system prompts for a password, if one is not specified.
- disable-verification
- Disables the SSL certificate verification or SSH host key verification.
- name
- Specifies the name of the routing instance to reach the host serving the image. The default routing-instance is used if a value for the routing-instance keyword is not specified.
Operational mode.
Use this command to download a remote image to the /var/lib/libvirt/images folder by using HTTP, HTTPS, FTP, SFTP, or SCP.
For more information about VRF configuration, refer to the VRF Support chapter in the .
The download virtualization image command displays the following information:
Output field | Description |
---|---|
% Total | Size of the image file in the remote location. |
% Received | Size of the image file received. |
% Xferd | Size of the uploaded image file. Not relevant for downloads. |
Average Speed Dload | Average download speed. |
Average Speed Upload | Average upload speed. Not relevant for downloads. |
Time Total | Total time required for the download. |
Time Spent | Time spent since the download started. |
Time Left | Time left to complete the download. |
Current Speed | Current speed of the download. |
The command output is not displayed until the download has finished.
The following example shows how to download an image from an SCP location.
vyatta@vyatta:~$ download virtualization image from scp://10.10.1.1/home/image-user/another-image.qcow2 authentication username image-user
Enter password for 'image-user':
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 292M 100 292M 0 0 31.9M 0 0:00:09 0:00:09 --:--:-- 32.0M
100 292M 100 292M 0 0 31.9M 0 0:00:09 0:00:09 --:--:-- 31.9M