Foreman v1.24 Unable to render PXELinux template 'Kickstart default PXELinux': no implicit conversion of Array into String

Problem: After upgrading to Foreman v1.24 I am unable to create hosts. When I submit to build I receive the following errors:
Unable to save * Unable to render PXELinux template ‘Kickstart default PXELinux’: no implicit conversion of Array into String

  • Unable to render PXEGrub2 template ‘Kickstart default PXEGrub2’: no implicit conversion of Array into String
  • Unable to render PXEGrub template ‘Kickstart default PXEGrub’: no implicit conversion of Array into String
    The templates do resolve successfully when I test before submitting to build etc.

Hello,

we have tested our default templates for 1.24, your version probably contain some incompatible changes we’ve missed. Can you pastebin it?

Revert back to the original: https://github.com/theforeman/community-templates/blob/1.24-stable/provisioning_templates/PXELinux/kickstart_default_pxelinux.erb