Extend the configuration and templating system to configure a hostname