Re: Adding options for qcow2 output ?

Thomas Lange <[email protected]> Tue, 9 Apr 2024 17:46:28 +0200
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
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 <[email protected]> said:


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

-- 
viele Grüße Thomas