summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-22 07:59:59 +0200
committerGitHub <noreply@github.com>2022-09-22 07:59:59 +0200
commitcd1875cb15211d733630b97f1dc7f73f11061927 (patch)
tree5d71bedc1924b29d96cbae5d12064e2bf69c2287 /op-mode-definitions
parent7ba1f6444d1b7a8d25715623daf75f81521d9667 (diff)
parenta8e73794ec421ad2bb0053214504f20a1dc3b21a (diff)
downloadvyos-1x-cd1875cb15211d733630b97f1dc7f73f11061927.tar.gz
vyos-1x-cd1875cb15211d733630b97f1dc7f73f11061927.zip
Merge pull request #1521 from sever-sever/T3476
update-check: T3476: Allow update-check for VyOS images
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-system.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-system.xml.in b/op-mode-definitions/show-system.xml.in
index bd32992aa..4a0e6c3b2 100644
--- a/op-mode-definitions/show-system.xml.in
+++ b/op-mode-definitions/show-system.xml.in
@@ -164,6 +164,12 @@
</properties>
<command>${vyos_op_scripts_dir}/storage.py show</command>
</leafNode>
+ <leafNode name="updates">
+ <properties>
+ <help>Show system available updates</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/system.py show_update</command>
+ </leafNode>
<leafNode name="uptime">
<properties>
<help>Show system uptime and load averages</help>