Fix_hosts snippet fails

related to How to set system hostname to match Foreman hostname - it seems the template content is not rendered for some reasons, note the <%= snippet ‘fix_hosts’ %> in the rendered version of the kickstart