I am trying to create a custom ISO image which would install the minimal required RPMS along with some custom written RPM of my app. and Also wants to perform some post install steps like configuring my App and VPN configuration etc.
I saw some of the links on google but they are pointing creating repo and ISO from mounted disk or ISO image.
Thanks Ramesh
Create a directory to mount your source.
Loop mount the source ISO you are modifying. (Download from Red Hat / CentOS.)
Create a working directory for your customized media.
Copy the source media to the working directory.
Unmount the source ISO and remove the directory.
Change permissions on the working directory.
Copy your Kickstart script which has been modified for the packages and
%post
to the working directory.Copy any additional RPMs to the directory structure and update the metadata.
Add kickstart to boot options.
Create the new ISO file.
(Optional) Use
isohybrid
if you want todd
the ISO file to a bootable USB key.Add an MD5 checksum (to allow testing of media).
If you need more help creating the Kickstart script, I suggest starting with the official Red Hat documentation.