On Fri, Oct 07, 2022 at 04:33:01PM +0000, Harry Bryson wrote:
> Prior to Enterprise Linux 9, it seems some Red Hat based distros returned 
> "redhat-based" for inspect-get-distro
> This allowed things like "virt-customize --firstboot-command" to work as this 
> matched the supported distro list, e.g.
> 
> | "fedora"|"rhel"|"centos"|"scientificlinux"|"oraclelinux"|"redhat-based"
> 
> However, it seems some distros, e.g. Rocky9 and AlmaLinux9 are now returning 
> "rocky"/"almalinux" for inspect-get-distro
> When using virt-install and then virt-customize, I am seeing issues like the 
> following:
> 
> [Rocky9]$ virt-customize -a disk.qcow2 --firstboot-command /tmp/bootstrap
> [   0.0] Examining the guest ...
> [  17.1] Setting a random seed
> [  17.3] Installing firstboot command: /tmp/bootstrap
> virt-customize: error: guest type rocky is not supported

This is just a bug.  For reference what versions of libguestfs &
guestfs-tools are you using?

> Is there some way to return "redhat-based" again for inspect-get-distro or 
> does the distro list matching need to be updated?
> I possibly updated the OS database (osinfo-query os) to support newer OS - is 
> this related to this problem?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to