我正在尝试让 NTP 在 GCP 中的 Debian 10 VM 客户端计算机上运行。这些是 /etc/ntp.conf 中的相关配置行:
server metadata.google.internal iburst
server 169.254.169.254 iburst
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 10.10.184.9 # my machine's IP
restrict ::1
我所做的一切似乎都无法解决这个问题:
ansible@node:~$ sudo ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
metadata.google .INIT. 16 u - 128 0 0.000 0.000 0.000
ansible@liproj-prod-ct-cloudapp-admin:~$
我可以从此主机 ping NTP 服务器。不确定下一步该怎么做?