>> [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?

 

Just the native EL9 versions
$ rpm -q libguestfs guestfs-tools

libguestfs-1.46.1-4.el9_0.alma.x86_64

guestfs-tools-1.46.1-6.el9.0.1.x86_64

(I am running on AlmaLinux9/Rocky9 as well)

 

Not sure if this is the correct fix, but I test patched the distro matching and it seemed to fix this.

(Although virt-builder did not link cleanly – fPIE ?)

 

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.