How to create a fully unattended installation iso?

I have downloaded the Fedora Server 38 iso and I have configured my ks.cfg and now I want to make a fully automated iso. How do I do this? I was told I needed to add my ks.cfg file to the root directory of the usb but I can’t do that because it is always mounted as read-only. That also means I’m unable to make the changes to grub so that the installation starts on its own.

My favorite way is to use lorax to inject the kickstart into an existing netinstall ISO.

I sadly have not much time to work on this project but you can see how it works and borrow the idea: