Actions
Bug #25172
closedkickstart default user_data and finish templates do not recognise "Red Hat Identity Management" as a realm_type
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
easy
Triaged:
No
Bugzilla link:
Description
Following on from https://projects.theforeman.org/issues/25117 which added IdM as a recognised realm_type to the kickstart default kickstart template, IdM should also be added to the other two templates that allow FreeIPA namely kickstart_default_user_data.erb and kickstart_default_finish.erb
Again this means replacing:
<% if host_enc['parameters']['realm'] && @host.realm && @host.realm.realm_type == 'FreeIPA' ->
with:
<% if host_enc['parameters']['realm'] && @host.realm && (@host.realm.realm_type 'FreeIPA' || @host.realm.realm_type 'Red Hat Identity Management') -%>
Actions