Create custom rocky ISO

Hello rocky community,

I would like to make a personal project to test and learn more about customizing linux distro.
I’d like to make a network firewall/router out of rocky linux. I think it will be fun to experiment.

I’d like some advices on how to customize iso and where to start.

My first idea is to unpack rocky iso, create a kickstart and automate at maximum installation. Then put the kickstart directly in the iso make it boot directly with the kickstart. Is it a good idea or do you see any smarter/simpler way to do this ? Let me know :slight_smile:

Thanks for reading

You can use mkksiso to add a kickstart to a given ISO. There’s no need to unpack it.

dnf install lorax -y
mkksiso /path/to/kickstart /path/to/iso /path/to/output.iso

Oh that’s a nice tool, thanks ! i’m used to the debian’s preseed way where you have to unpack and repack to automate installation