Skip to content

Commit

Permalink
Fixes #38172 - Permit use of NTP Pools in kickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpunk committed Jan 29, 2025
1 parent 74ddd88 commit a7b3086
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ description: |
- enable-official-puppet8-repo: boolean (default=false)
- skip-puppet-setup: boolean (default=false)
- salt_master: string (default=undef)
- ntp-pools: array (default=undef)
- ntp-server: string (default=undef)
- bootloader-append: string (default="nofb quiet splash=quiet")
- disable-firewall: boolean (default=false)
Expand Down Expand Up @@ -145,7 +146,10 @@ authconfig --useshadow --passalgo=<%= @host.operatingsystem.password_hash.downca
timezone --utc <%= host_param('time-zone') || 'UTC' %> <%= host_param('ntp-server') ? "--ntpservers #{host_param('ntp-server')}" : '' %>
<% else -%>
timezone --utc <%= host_param('time-zone') || 'UTC' %>
<% if host_param('ntp-server') -%>
<% if host_param('ntp-pools') -%>
<% host_param('ntp-pools').each do |ntppool| -%>
timesource --ntp-pool <%= ntppool %>
<% elsif host_param('ntp-server') -%>
timesource --ntp-server <%= host_param('ntp-server') %>
<% end -%>
<% end -%>
Expand Down

0 comments on commit a7b3086

Please sign in to comment.