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@uni-koeln.de> said:


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

-- 
viele Grüße Thomas

Antwort per Email an