We are working on customizing the ISO of ubuntu 22.04.3 using autoinstall, here we are developing our product with specific kernel version (automirror clone version). Always the automirror clone is having higher version of kernel than the ubuntu 22.04.3 ISO (comes with 5.15.0-78 kernel), currently we are installing the higher version kernel in Late commands.
Solution we are looking is to update the kernel of ubuntu 22.04.3 ISO file, so that only one kernel will be in existence during install in both installer and target environment.
In our Build process, we are extracting the ubuntu-server-minimal.squashfs and updating the required files and using xorriso.
It will be very helpful if you provide a solution.