fixed configuration of ntp server
This commit is contained in:
@@ -28,10 +28,10 @@ machine:
|
||||
network:
|
||||
hostname: ${hostname}
|
||||
%{if length(ntp_servers) > 0 }
|
||||
time:
|
||||
servers:
|
||||
time:
|
||||
servers:
|
||||
%{ for addr in ntp_servers ~}
|
||||
- ${addr}
|
||||
- ${addr}
|
||||
%{ endfor ~}
|
||||
%{endif}
|
||||
sysctls:
|
||||
|
||||
@@ -42,6 +42,7 @@ variable "talos_cluster_config" {
|
||||
node_network_vlan = optional(number)
|
||||
http_proxy = optional(string)
|
||||
no_proxy = optional(string)
|
||||
ntp_servers = optional(list(string), [])
|
||||
extra_manifests = optional(list(string), [])
|
||||
kubelet = optional(string, "")
|
||||
api_server = optional(string)
|
||||
|
||||
Reference in New Issue
Block a user