Create customized CentOS ISO images
MIT License
make_centos
allows one to create a customized CentOS 7 ISO image with
additional packages if wished and Kickstart files to automate the installation
process.
In order to create a customized CentOS ISO image, you need to have the following:
A bunch of packages needs to be installed on the system you are using to create the ISO image::
sudo dnf -y install wget createrepo isomd5sum genisoimage syslinux
The script is make_centos.sh
handles all tasks. -h
displays some
details about the usage::
usage:
make_centos.sh [options] command
options:
-h Show this help
commands:
check Check the ISO image
clean Clean up folders
fetch Fetch the ISO image that acts as source
create Create the new ISO image
Before running the script please update the variables. The directory layout looks like this::
.
├── config --------- The isolinux.cfg is stored here
├── iso ------------ This folder will store the downloaded ISO images
├── kickstart ------ All kickstart files will end up on the ISO image
├── rpms ----------- Place all custom RPMS inthis folder
└── unpacked ------- Here is the original ISO image content stored
There are many way to run the created ISO file, one is qemu
::
qemu-system-x86_64 -boot d -m 1024 -cdrom your.iso
This project was inspired by the work of:
make_centos
licensed under MIT, for more details check LICENSE.