I've created an Ubuntu Server ISO with a set of custom packages I want installed during the installation process. I alos have a preseed and kickstart file working. This took me a while but I have it working thanks to: How to create a Customized Ubuntu Server ISO?
Now I need to do things such as:
- setting some firewall rules
- writing some conf files
- placing down keys
- changing system name
- ultimately creating a custom shell
This is a lot for me to digest and it is taking me a long time to understand which tool or part of the process I should be doing the above with. I think anything that has to do with just placing files can be done with a custom deb package and installed like my other packages. However, I don't know the best place for setting the host name, setting firewall rules, and eventually creating a custom shell/interface to limit the non root user's abilities. Note: Everything at this stage should be possible with the disc only... no internet access.
I've read this page and I believe I can script almost anything I'd need but only before the full system has booted: https://help.ubuntu.com/community/InstallCDCustomization. The purpose here is to get the server setup and secure to receive its final customization from Chef.
Basically, I just need to know where to begin with the bullets and could use pointers to examples. Can anyone help me?