summaryrefslogtreecommitdiff
path: root/interface-definitions/system-update-check.xml.in
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 /interface-definitions/system-update-check.xml.in
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 'interface-definitions/system-update-check.xml.in')
-rw-r--r--interface-definitions/system-update-check.xml.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/system-update-check.xml.in b/interface-definitions/system-update-check.xml.in
new file mode 100644
index 000000000..e4d7041ec
--- /dev/null
+++ b/interface-definitions/system-update-check.xml.in
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interfaceDefinition>
+ <node name="system">
+ <children>
+ <node name="update-check" owner="${vyos_conf_scripts_dir}/system_update_check.py">
+ <properties>
+ <help>Check available update images</help>
+ <priority>9999</priority>
+ </properties>
+ <children>
+ <leafNode name="auto-check">
+ <properties>
+ <help>Enable auto check for new images</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ #include <include/url.xml.i>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>