Create custom iso EL6U4
Hi,
I wanted to add some extra rpms including kernel rpms to the existing ISO image, followed the below procedure:
I wanted to add some extra rpms including kernel rpms to the existing ISO image, followed the below procedure:
- Create a directory to mount the iso.
mkdir /tmp/bootiso. - Loop mount the source ISO which I'm modifying (EL6U4)
mount -o loop /path/to/some.iso /tmp/bootiso - Created a working directory for customized media.
mkdir /tmp/bootisoks - Copied the source media to the working directory.
cp -r /tmp/bootiso/* /tmp/bootisoks/ - Unmount the source ISO and remove the directory.
umount /tmp/bootiso && rmdir /tmp/bootiso. - Change permissions on the working directory.
chmod -R u+w /tmp/bootisoks - Copy your Kickstart script which has been modified for the packages and %post to the working directory.
0