Use the above script for creating iso image having what ever feature you want in operating system.
building custom debian
Repository from Github https://github.comarjuncr/custom_debian
Use the above script for creating iso image having what ever feature you want in operating system.