We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ntp_server
1 parent 799d5f7 commit 7a2fc6cCopy full SHA for 7a2fc6c
app/views/unattended/provisioning_templates/snippet/ntp.erb
@@ -46,11 +46,11 @@ echo "Updating system time"
46
-%>
47
<% if use_ntp -%>
48
yum -y install ntpdate
49
- <% if ntp-server -%>
+ <% if ntp_server -%>
50
<% if ntp_server.respond_to?(:join) -%>
51
- /usr/sbin/ntpdate -sub <%= ntp-server.first %>
+ /usr/sbin/ntpdate -sub <%= ntp_server.first %>
52
<% else -%>
53
- /usr/sbin/ntpdate -sub <%= ntp-server %>
+ /usr/sbin/ntpdate -sub <%= ntp_server %>
54
<% end -%>
55
56
systemctl enable --now ntpd
0 commit comments