summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-16 20:18:54 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-16 20:19:08 +0200
commit39f95fe210949b919d33cb627fc8ed5aa83e6b24 (patch)
tree397aa609bba065a00113425b04a8e4bffb6eb109
parent42ef048aefaa0d6b4848f7646c2400741c88df66 (diff)
downloadvyos-1x-39f95fe210949b919d33cb627fc8ed5aa83e6b24.tar.gz
vyos-1x-39f95fe210949b919d33cb627fc8ed5aa83e6b24.zip
op-mode: T3630: add "show version kernel" command
(cherry picked from commit 6cfcf7a761adb3e51f9279611435a39a1424e9c9)
-rw-r--r--op-mode-definitions/show-version.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-version.xml.in b/op-mode-definitions/show-version.xml.in
index 6bc49b8cf..8b7cc7e58 100644
--- a/op-mode-definitions/show-version.xml.in
+++ b/op-mode-definitions/show-version.xml.in
@@ -26,6 +26,12 @@
</properties>
<command>vtysh -c "show version"</command>
</leafNode>
+ <leafNode name="kernel">
+ <properties>
+ <help>Show Linux Kernel version information</help>
+ </properties>
+ <command>uname -r</command>
+ </leafNode>
</children>
</node>
</children>