> 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
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
Harry Bryson |
Software Engineer Harry.Bryson@corero.com 53 Hanover Street, Edinburgh, EH2 2PJ United Kingdom | |
Access Corero Network Security’s Privacy Policy here. | |
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. |