sciurus/vagrant-mutate

Write format and virtual_size in metadata for libvirt

Closed this issue · 0 comments

Format is always qcow2

virtual_size should be detected by running qemu-img info on the input image, e.g.

qemu-img info ~/.vagrant.d/boxes/fedora-19/virtualbox/box-disk1.vmdk 
image: /home/pittsb/.vagrant.d/boxes/fedora-19/virtualbox/box-disk1.vmdk
file format: vmdk
virtual size: 40G (42949672960 bytes)
disk size: 433M