Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: import template - update disks size by qemu-img info
When importing a VM template, query the 'virtual size' of each image using 'qemu-img info' and update the DB, as the size is saved in the OVF in GiB (rounded up). Change-Id: Ia39ce808576af2ad912fb10a2432147f8482f37b Bug-Url: https://bugzilla.redhat.com/1711691 Signed-off-by: Daniel Erez <derez@redhat.com>
- Loading branch information
1 parent
9832998
commit 797da35
Showing
1 changed file
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters