From ab6496055ec02e43b072c61aeed318d8cb40e53b Mon Sep 17 00:00:00 2001 From: chenxing Date: Fri, 1 Dec 2017 19:33:58 +0800 Subject: [PATCH] Fix the incorrect Chrony configuration path Change-Id: Ie40572bd3fb4e88988b023b2b8e2e0ac16a18c1e Closes-Bug: #1734335 --- .../source/environment-ntp-other.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/install-guide/source/environment-ntp-other.rst b/doc/install-guide/source/environment-ntp-other.rst index 01229467e0..f2779189a9 100644 --- a/doc/install-guide/source/environment-ntp-other.rst +++ b/doc/install-guide/source/environment-ntp-other.rst @@ -34,11 +34,22 @@ Install and configure components .. end -2. Edit the ``/etc/chrony.conf`` file and comment out or remove all +2. Configure the ``chrony.conf`` file and comment out or remove all but one ``server`` key. Change it to reference the controller node: + For RHEL, CentOS, or SUSE, edit the ``/etc/chrony.conf`` file: + .. path /etc/chrony.conf - .. code-block:: shell + .. code-block:: ini + + server controller iburst + + .. end + + For Ubuntu, edit the ``/etc/chrony/chrony.conf`` file: + + .. path /etc/chrony/chrony.conf + .. code-block:: ini server controller iburst