summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-03-18 12:59:43 +0200
committerGitHub <noreply@github.com>2024-03-18 12:59:43 +0200
commit12b9c577330cf1e160e6ff780100876d6690a57b (patch)
tree581280837887cd64f7518b588bbc076ef0678de6
parent987b7e599fda2c468773cf31d92d976cd96c3e41 (diff)
parent09de453194e9f8e7aa5dcb2e5c8de5a89e82708d (diff)
downloadvyos-1x-12b9c577330cf1e160e6ff780100876d6690a57b.tar.gz
vyos-1x-12b9c577330cf1e160e6ff780100876d6690a57b.zip
Merge pull request #3143 from c-po/force-commit-archive
op-mode: T6133: add support to manually trigger commit-archive update
-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>