Nguetchouang Ngongang Kevin
2022-Apr-25 12:42 UTC
[Libguestfs] Virt-install, virt-customize, virt-builder
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 ?) * Is it possible to rebuild another os (in the manner of virt-builder) on an existing image file but by using VIRT-CUSTOMIZE? Best regards, -- Nguetchouang Ngongang Kevin ENS de Lyon https://perso.ens-lyon.fr/kevin.nguetchouang/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220425/68cf64e8/attachment.htm>
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