From c8849bf93da8ca6c9035232f6651cd3bf10d5026 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Fri, 2 Oct 2026 14:43:28 +0200 Subject: [PATCH] OP#830 testing fqdn pickup --- templates/chrony.conf.erb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/chrony.conf.erb b/templates/chrony.conf.erb index 015081a..217c9fb 100644 --- a/templates/chrony.conf.erb +++ b/templates/chrony.conf.erb @@ -4,14 +4,15 @@ ### original chrony.conf file can be found at https://3for.me/2t0an ### ################################################################################ -<% if @fqdn == @cy_server_fqdn -%> +#<% if @fqdn == @cy_server_fqdn -%> # This is a time server configuration file -<% @cy_conf_servers.each do |this_server| -%> -pool <%= this_server %> iburst -<% end -%> +#<% @cy_conf_servers.each do |this_server| -%> +#pool <%= this_server %> iburst +#<% end -%> -<% else -%> +<% if @fqdn != @cy_server_fqdn -%> # This is a time client configuration file +# I am a client! <%= @fqdn %> <% end -%> # <%= @fqdn %> \ No newline at end of file