> What does Alma (as a guest image) return for inspect-get-distro? As
> far as I can tell we don't really support it in libguestfs so far.

I checked with GenericCloud images (in case it was related to the images I was 
building with kickstart)
http://185.231.100.123/rocky-linux/9/images/x86_64/Rocky-9-GenericCloud-9.0-20220830.0.x86_64.qcow2
https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-9.0-20220527.x86_64.qcow2

It looks like the issue is only with Rocky.
><fs> inspect-os
/dev/sda5
><fs> inspect-get-distro /dev/sda5
rocky

><fs> inspect-os
/dev/sda4
><fs> inspect-get-distro /dev/sda4
redhat-based

I assumed it would also affect AlmaLinux since it affected Rocky - sorry!
(Not sure if related but I tested this on AlmaLinux host)

> Anyway the attached patches should fix the issue for Rocky guest
> images, although it's not really long-term supportable to keep adding
> distros like this, we'll have to think of a better way.

Thanks!
Harry

[cid:Corero-C-Emblem-Logo_45d4852f-9c54-43bf-890a-87cc840a4439.png]<https://www.corero.com/>
      Harry Bryson | Software Engineer
 [cid:1.Email-icon_26b8c770-e81e-4f66-a563-df28e00684aa.png]    
harry.bry...@corero.com<mailto:harry.bry...@corero.com>

 [cid:3.Map-icon_41ce7b53-a7ba-45b0-a0f5-984216110856.png]    53 Hanover 
Street, Edinburgh, EH2 2PJ United Kingdom
[cid:4.Website-icon_66f93fb0-fb56-42b8-879c-68b071f492af.png]<https://www.corero.com>[cid:5.LinkedIn-icon_71e7bc7c-e732-410a-898f-d7fd45115cd4.png]<https://www.linkedin.com/company/corero>[cid:6.Twitter-icon_24fc5112-78a4-4303-af64-9ef3ec89fc44.png]<https://twitter.com/corero>[cid:7.Facebook-icon_a3c6fd35-9f1a-4019-951e-0763954abc5c.png]<https://www.facebook.com/corero.inc/>[cid:8.Youtube-icon_cd676141-8f09-4e1b-893d-da9b396d3d00.png]<https://www.youtube.com/user/corerosecurity/>

                                     Access Corero Network Security's Privacy 
Policy here<https://www.corero.com/privacy>.



We are Corero Network Security plc ("Corero"), registered in England and Wales, 
with registered company number 02662978, registered office address Salisbury 
House, 29 Finsbury Circus, London, EC2M 5QQ. Corero is the parent company for 
Corero Network Security, Inc. and Corero Network Security (UK) Ltd (a company 
registered in England and Wales with registered number 04047090, with the same 
registered office address as above) For information about how we process your 
data, or to manage your data preferences, click 
here<https://info.corero.com/data-preferences.html>.

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to