ottomatica/slim

qcow2 image output

cbluth opened this issue · 5 comments

Can slim produce qcow2 images?

It currently does not, but it should be possible to plug-in to a utility like qemu-img.

@cbluth We're in the process of addressing this with some code that will allow providing format preference when a provider might have multiple options: slim build --format=qcow2.

@cbluth We just merged a patch that allows building qcow2 (#37), which allows you to specify a format flag (-f) to build additional formats. In your case, slim build [image] -p kvm -f qcow2 will add a slim.qcow2 to the image's registry entry ($HOME/.slim/registry/[image]). Note that qcow2 is currently only available when building for the KVM provider, since it requires qemu-img to convert.

Let us know if you run into any issues!

i will check it out!

Closing issue since we now support qcow2 output. Can revisit any problems with new issue. Thanks!