I want to achieve the external data file creation
"qemu-img create -o data_file_raw=on,data_file=path/to/file"
but there is no way to specify those options while using virt-builder.
Le 2022-04-25 16:17, Richard W.M. Jones a écrit :
On Mon, Apr 25, 2022 at 02:42:18PM +0200, Nguetchouang Ngongang Kevin wrote:Hello everyone, i got 2 questions and I hope you could help me ?
* is it possible to specify extra options of qemu-img (when
creating/building image/os using virt-install and virt-builder ?)
Could be useful to know what particular options you are interested in.
Maybe qemu-img create "-o" stuff?
* Is it possible to rebuild another os (in the manner of
virt-builder) on an existing image file but by using virt-customize?
I'm not totally sure what this question means. virt-builder is really
a tool that downloads and uncompresses templates (from:
https://builder.libguestfs.org/ and other places) and then customizes
them using the same code as used in virt-customize. So you can split
up the two tasks yourself easily enough, if that's what you mean.
Virt-customize can be used across many different OSes.
Rich.