summaryrefslogtreecommitdiff
path: root/docs/system/ntp.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:31:39 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:31:39 +0100
commit9ed5ac0cd6e8f0745c866db8ffd229323091fd15 (patch)
tree9274cc007e6fc9b7e11f0691ff306a547a00f9a9 /docs/system/ntp.rst
parent852f7f7a232a79fc802923730673024d1a5171be (diff)
downloadvyos-documentation-9ed5ac0cd6e8f0745c866db8ffd229323091fd15.tar.gz
vyos-documentation-9ed5ac0cd6e8f0745c866db8ffd229323091fd15.zip
Refactor "code-block:: sh" to "code-block:: console"
This will add proper new-lines into the rendered PDF. Before if it has been a long line, not all content was preserved in the PDF.
Diffstat (limited to 'docs/system/ntp.rst')
-rw-r--r--docs/system/ntp.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/system/ntp.rst b/docs/system/ntp.rst
index ed2a0ecb..d9598a6f 100644
--- a/docs/system/ntp.rst
+++ b/docs/system/ntp.rst
@@ -5,7 +5,7 @@ NTP
there are 3 default NTP server set. You are able to change them.
-.. code-block:: sh
+.. code-block:: console
set system ntp server 0.pool.ntp.org
set system ntp server 1.pool.ntp.org
@@ -13,7 +13,7 @@ there are 3 default NTP server set. You are able to change them.
To set up VyOS as an NTP responder, you must specify the listen address and optionally the permitted clients.
-.. code-block:: sh
+.. code-block:: console
set system ntp listen-address 192.168.199.1
set system ntp allow-clients address 192.168.199.0/24