I'm trying to create a CentOS 7 ISO image to use it later with Virtualbox. That ISO should include a ks.cfg
file also.
I've followed the steps under How to create a custom ISO image in CentOS, but I get one ISO with only 70MB of size which cannot be used in Virtualbox.
Any user guide or something to follow?
I found the way to create custom DVD from the RHEL7 page.
Mount the downloaded image.
Create a working directory - a directory where you want to place the contents of the ISO image.
Copy all contents of the mounted image to your new working directory.
Make sure to use the
-p
option to preserve file and directory permissions and ownership.Unmount the image.
Make sure your current working directory is the top-level directory of the extracted ISO image - e.g.
/tmp/ISO/iso
. Create the new ISO image usinggenisoimage
:Hope the Anaconda Customization Guide - Images Repack will helpful too.