Foreman email

Hi Currently, when host is built we get alert email with hostname and ip address. How can I add OS information in that email? where is it configured?

Thanks

The email templates are all hard coded currently. You can find them at https://github.com/theforeman/foreman/tree/develop/app/views/host_mailer or under /usr/share/foreman/app/views/host_mailer on your local system.
If you modify the template, you can add e.g. @host.operatingsystem but keep in mind that any changes will be overwritten on upgrades. Alternatively, you can open a pull request to the foreman github repo to add this information for everyone.

Thanks this worked!