0

on GCP VM I'm trygin to define custom ntp servers but seems like ntp service is not reading /etc/ntp.conf file. I added 4 servers from ntppool.org ntpq -pn constantly return the same result (metadata.google)

enter image description here

systemctl status ntp enter image description here

enter image description here

Do you have any idea?

RedBluff
  • 31
  • 1
  • 3

1 Answers1

2

problem solved the default ntp client was chrony and /etc/chrony/chrony.conf is the file I should edit

RedBluff
  • 31
  • 1
  • 3
  • Your second and third screenshots show that `ntpd` rather than `chronyd` was in use at the time you asked the question. – Paul Gear Jul 27 '23 at 22:56