Revision 013ee65a
Added by Dominic Cleal about 10 years ago
app/views/unattended/kickstart/provision.erb | ||
---|---|---|
services --disabled autofs,gpm,sendmail,cups,iptables,ip6tables,auditd,arptables_jf,xfs,pcmcia,isdn,rawdevices,hpoj,bluetooth,openibd,avahi-daemon,avahi-dnsconfd,hidd,hplip,pcscd,restorecond,mcstrans,rhnsd,yum-updatesd
|
||
<% end -%>
|
||
|
||
<% if realm_compatible && @host.respond_to?(:otp) && @host.otp && @host.realm -%>
|
||
<% if realm_compatible && @host.info["parameters"]["realm"] && @host.otp && @host.realm -%>
|
||
realm join --one-time-password='<%= @host.otp %>' <%= @host.realm %>
|
||
<% end -%>
|
||
|
||
... | ... | |
/usr/sbin/ntpdate -sub <%= @host.params['ntp-server'] || '0.fedora.pool.ntp.org' %>
|
||
/usr/sbin/hwclock --systohc
|
||
|
||
<% if realm_incompatible && @host.respond_to?(:otp) && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" -%>
|
||
<% if realm_incompatible && @host.info["parameters"]["realm"] && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" -%>
|
||
<%= snippet "freeipa_register" %>
|
||
<% end -%>
|
||
|
||
... | ... | |
exit 0
|
||
|
||
%end
|
||
|
Also available in: Unified diff
templates - sync from community-templates