Revision 013ee65a
Added by Dominic Cleal about 10 years ago
app/views/unattended/kickstart/provision_rhel.erb | ||
---|---|---|
authconfig --useshadow --passalgo=sha256 --kickstart
|
||
timezone --utc <%= @host.params['time-zone'] || 'UTC' %>
|
||
|
||
<% if os_major >= 7 && @host.respond_to?(:otp) && @host.otp && @host.realm -%>
|
||
<% if os_major >= 7 && @host.info["parameters"]["realm"] && @host.otp && @host.realm -%>
|
||
realm join --one-time-password=<%= @host.otp %> <%= @host.realm %>
|
||
<% end -%>
|
||
|
||
... | ... | |
|
||
<%= snippet 'redhat_register' %>
|
||
|
||
<% if @host.respond_to?(:otp) && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" && os_major <= 6 -%>
|
||
<% if @host.info["parameters"]["realm"] && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" && os_major <= 6 -%>
|
||
<%= snippet "freeipa_register" %>
|
||
<% end -%>
|
||
|
Also available in: Unified diff
templates - sync from community-templates