On Mon, Apr 25, 2022 at 04:40:15PM +0200, Nguetchouang Ngongang Kevin wrote:
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.
Interesting - I had no idea about this feature before.
At the moment it's not possible to do this within virt-builder,
without patching virt-builder. I guess maybe you can post-convert the
file after virt-builder has run?
I grepped the source of virt-install and it doesn't seem like it has
support either. Nor does libvirt.
It should be possible to use virt-customize on these special qcow2
files, although I didn't try it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW