Hi, Richard Your revisions have no problems and it works well. I have done some tests as follows,
[root@2403-lts libguestfs]# ./run /usr/bin/virt-customize -a ~/openEuler-24.03-LTS-x86_64.qcow2 --firstboot-command 'df' --smp 4 [ 0.0] Examining the guest ... [13034.1] Setting a random seed [13130.3] Installing firstboot command: df [13307.2] SELinux relabelling [13417.4] Finishing off [root@2403-lts libguestfs]# ./run /usr/bin/virt-customize -a ~/openEuler-24.03-LTS-x86_64.qcow2 --hostname openEuler --smp 4 -m 1024 --no-selinux-relabel --no-network [ 0.0] Examining the guest ... [5557.2] Setting a random seed [5599.8] Setting the hostname: openEuler [5720.4] Finishing off Thanks. wangguoqua...@foxmail.com 发件人: Richard W.M. Jones 发送时间: 2024-09-10 18:37 收件人: wangguoqua...@foxmail.com 抄送: guestfs 主题: [Libguestfs]Re:回复: [Libguestfs] Re: [PATCH] suport openEuler Thanks, this is pushed in: libguestfs https://github.com/libguestfs/libguestfs/commit/1d8924c343b2f0022767c1d5d5c059ea9d8f4d7e libguestfs-common https://github.com/libguestfs/libguestfs-common/commit/855ff49b7e660e33cf9af739401abd2e85e7b269 Note that I made the distro string (guestfs_inspect_get_distro) be "openeuler" (lower case) for consistency with all the other distros that we have. However the ID field in the os-release file is still of course "openEuler". Hope that's all fine, Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v _______________________________________________ Libguestfs mailing list -- guestfs@lists.libguestfs.org To unsubscribe send an email to guestfs-le...@lists.libguestfs.org
_______________________________________________ Libguestfs mailing list -- guestfs@lists.libguestfs.org To unsubscribe send an email to guestfs-le...@lists.libguestfs.org