Preperations

Perform a Reference Installation

/root/anaconda-ks.cfg

Install Kickstart Tools

dnf install lorax pykickstart

Validate your Kickstart file

ksvalidator ./ks.cfg

There will be no output if no error is found.

Create a custom ISO

mkksiso --ks <kickstart.cfg> <original.iso> <customized.iso>