vinfra service compute volume snapshot upload-to-image

Create a compute image from a compute volume snapshot:

usage: vinfra service compute volume snapshot upload-to-image [--name <name>]
                                                              <volume-snapshot>
--name <name>
Image name
<volume-snapshot>
Volume snapshot ID or name

Example:

# vinfra service compute volume snapshot upload-to-image --name myvm-image \
mynewsnapshot
+------------------+--------------------------------------+
| Field            | Value                                |
+------------------+--------------------------------------+
| checksum         |                                      |
| container_format | bare                                 |
| created_at       |                                      |
| disk_format      | qcow2                                |
| id               | 6a7a78c1-7168-4387-9b55-23fd477fdaa0 |
| min_disk         |                                      |
| min_ram          |                                      |
| name             | myvm-image                           |
| os_distro        | linux                                |
| os_type          | linux                                |
| project_id       |                                      |
| protected        | False                                |
| public           | False                                |
| size             | 1                                    |
| status           | uploading                            |
| tags             |                                      |
| updated_at       | 2019-06-07T12:30:43.462707           |
| virtual_size     |                                      |
+------------------+--------------------------------------+

This command creates the compute image myvm-image from the volume snapshot mynewsnapshot.