時刻がずれているからntpを、と思っていたらCentOS7ではChronyが標準のようですね。 以下のように設定しました:
設定ファイルの変更
# Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst コメントアウト #server 1.centos.pool.ntp.org iburst コメントアウト #server 2.centos.pool.ntp.org iburst コメントアウト #server 3.centos.pool.ntp.org iburst コメントアウト server ntp.nict.jp iburst # 追加 stratumweight 0 # 追加
自動起動の設定と、起動
sudo systemctl enable chronyd sudo systemctl start chronyd