summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-08-22 13:12:29 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-22 19:51:14 +0000
commit31aa181d893561ebd45199e07d5e89450cc853fe (patch)
treedc03d961d508f0c095c1465ed44260aeb5f8ec49 /op-mode-definitions
parent6cfa688699a2460becc27175c14263985ebfdfd0 (diff)
downloadvyos-1x-31aa181d893561ebd45199e07d5e89450cc853fe.tar.gz
vyos-1x-31aa181d893561ebd45199e07d5e89450cc853fe.zip
T6561: Add vrf aware for show ntp
(cherry picked from commit 5f780ebb7f1799eb9a93218bb83561db509c7e56)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/ntp.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/ntp.xml.in b/op-mode-definitions/ntp.xml.in
index 17250a45e..565a5edb5 100644
--- a/op-mode-definitions/ntp.xml.in
+++ b/op-mode-definitions/ntp.xml.in
@@ -6,25 +6,25 @@
<properties>
<help>Show peer status of NTP daemon</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_sourcestats</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_sourcestats</command>
<children>
<node name="activity">
<properties>
<help>Report the number of servers and peers that are online and offline</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_activity</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_activity</command>
</node>
<node name="sources">
<properties>
<help>Show information about the current time sources being accessed</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_sources</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_sources</command>
</node>
<node name="system">
<properties>
<help>Show parameters about the system clock performance</help>
</properties>
- <command>${vyos_op_scripts_dir}/ntp.py show_tracking</command>
+ <command>sudo ${vyos_op_scripts_dir}/ntp.py show_tracking</command>
</node>
</children>
</node>