Using virtual machines, containers or, in general, templates for deploying server systems, often make you lose the ability to customize Linux servers at install time because of deployment wizards.
A script above the wizard
Alternative for sudo users, a little script for configuring the server in a minute. After the server is deployed, just log in, run the script and wait it accomplished all the targets.
Here the script on GitHub.
You can use the ssh client which is a part of most *BSD/Linux oses, connect to the Linux server and run the script remotely to get the work done.
The script only creates new hostname, hosts and interfaces config files, then reboots.
Nothing less, nothing more.
sudo chmod +x serverconfig.sh