summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-03-19 10:27:34 +0200
committerGitHub <noreply@github.com>2024-03-19 10:27:34 +0200
commit4b474cf1f403a45a579ba7df042aa53f39809b1d (patch)
tree1f30a074f46ee7d14e6402442433cb44945311e0
parent20e08490e0a2c84c4925400c51fa9eb05f96f5b6 (diff)
parentd24b35b39560d66613d1e9de9e2a526e744a8d87 (diff)
downloadvyos-1x-4b474cf1f403a45a579ba7df042aa53f39809b1d.tar.gz
vyos-1x-4b474cf1f403a45a579ba7df042aa53f39809b1d.zip
Merge pull request #3147 from vyos/mergify/bp/sagitta/pr-3143
op-mode: T6133: add support to manually trigger commit-archive update (backport #3143)
-rw-r--r--op-mode-definitions/force-commit-archive.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/force-commit-archive.xml.in b/op-mode-definitions/force-commit-archive.xml.in
new file mode 100644
index 000000000..162323c20
--- /dev/null
+++ b/op-mode-definitions/force-commit-archive.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="force">
+ <children>
+ <leafNode name="commit-archive">
+ <properties>
+ <help>Manually archive configuration</help>
+ </properties>
+ <command>/usr/bin/config-mgmt</command>
+ </leafNode>
+ </children>
+ </node>
+</interfaceDefinition>