Adding options for qcow2 output ?

Thomas Lange lange at cs.uni-koeln.de
Tue Apr 9 17:46:28 CEST 2024


Hi Laura,

with fai-diskimage you can't add options for qcow2. But you can create
a raw image and then manually convert it to qcow2 using any options
you like. In the end fai-diskimage is also just creating a raw image
and converts this to qcow2 using

qemu-img convert -f raw $rawname -O -c -o compression_type=zstd qcow2 $qcowname


>>>>> On Tue, 09 Apr 2024 15:14:07 +0000, Laura Smith via linux-fai <linux-fai at uni-koeln.de> said:


    > Hi
    > How do I set the "preallocation=off" qcow2 option on the output for fai-diskimage ?

-- 
viele Grüße Thomas


More information about the linux-fai mailing list