Sha256: 680f8960473898a6f17835928ddca3845d724c3c3c2ac9b2d3b147ca6b7303aa
Contents?: true
Size: 1.48 KB
Versions: 29
Compression:
Stored size: 1.48 KB
Contents
<%# kind: finish name: Katello Kickstart default finish oses: - CentOS 5 - CentOS 6 - CentOS 7 - RedHat 5 - RedHat 6 - RedHat 7 - Fedora 19 - Fedora 20 %> <% if @host.subnet.respond_to?(:dhcp_boot_mode?) -%> <%= snippet 'kickstart_networking_setup' %> service network restart <% end -%> <% rhel_compatible = @host.operatingsystem.family == 'Redhat' && @host.operatingsystem.name != 'Fedora' os_major = @host.operatingsystem.major.to_i pm_set = @host.puppetmaster.empty? ? false : true puppet_enabled = pm_set || @host.params['force-puppet'] salt_enabled = @host.params['salt_master'] ? true : false chef_enabled = @host.respond_to?(:chef_proxy) && @host.chef_proxy %> <%= snippet "subscription_manager_registration" %> <% if @host.respond_to?(:realm) && @host.otp && @host.realm && @host.realm.realm_type == "FreeIPA" -%> <%= snippet "freeipa_register" %> <% end -%> # update local time echo "updating system time" /usr/sbin/ntpdate -sub <%= @host.params['ntp-server'] || '0.fedora.pool.ntp.org' %> /usr/sbin/hwclock --systohc <% if @host.info['parameters']['realm'] && @host.realm && @host.realm.realm_type == 'FreeIPA' -%> <%= snippet "freeipa_register" %> <% end -%> # update all the base packages from the updates repository yum -t -y -e 0 update <%= snippet('remote_execution_ssh_keys') %> <% if chef_enabled %> <%= snippet 'chef_client' %> <% end -%> <% if puppet_enabled %> <%= snippet 'puppet_setup' %> <% end -%> <% if salt_enabled %> <%= snippet 'saltstack_setup' %> <% end -%> exit 0
Version data entries
29 entries across 29 versions & 1 rubygems