Custom Centos Iso Creator
This docker container provides you an environment to create an iso image with your custom anaconda/kickstart config. The delivered image only provides netinstall capabilities.
Build container and create image
Befor build and run, you should create a anaconda-ks.cfg
file with your custom settings. More information about possible configurations could be found in the kickstart docs.
Also you should select a centos mirror for your location.
export MIRROR_URL="http://centosmirror.netcup.net/centos/7/os/x86_64"
docker build -t custom_centos_iso .
docker run -v $PWD/:/build custom_centos_iso
Afterwards the current directory contains a custom.iso
and a folder
isolinux
that contains the image content.