Richard W.M. Jones
2022-Apr-25 14:17 UTC
[Libguestfs] Virt-install, virt-customize, virt-builder
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. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Nguetchouang Ngongang Kevin
2022-Apr-25 14:40 UTC
[Libguestfs] Virt-install, virt-customize, virt-builder
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. --- Nguetchouang Ngongang Kevin ENS de Lyon https://perso.ens-lyon.fr/kevin.nguetchouang/ 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.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220425/17a1a874/attachment.htm>