diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-16 21:22:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 21:22:54 +0200 |
commit | c5627b3268b6edd4ff3ff485ef13ebd30e577f03 (patch) | |
tree | 7c934c347e165236dc535d04be45d2dc67af0393 /op-mode-definitions/generate_tech-support_archive.xml.in | |
parent | c345f83ed46f5721757003fd4763186cfd7345ec (diff) | |
parent | eccad99d1388fa364bb9ac7549b54b2af294f07c (diff) | |
download | vyos-1x-c5627b3268b6edd4ff3ff485ef13ebd30e577f03.tar.gz vyos-1x-c5627b3268b6edd4ff3ff485ef13ebd30e577f03.zip |
Merge pull request #2368 from vyos/mergify/bp/sagitta/pr-2367
op-mode: T5642: 'generate tech-support archive' moved to vyos-1x (backport #2367)
Diffstat (limited to 'op-mode-definitions/generate_tech-support_archive.xml.in')
-rw-r--r-- | op-mode-definitions/generate_tech-support_archive.xml.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/op-mode-definitions/generate_tech-support_archive.xml.in b/op-mode-definitions/generate_tech-support_archive.xml.in new file mode 100644 index 000000000..e95be3e28 --- /dev/null +++ b/op-mode-definitions/generate_tech-support_archive.xml.in @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="generate"> + <children> + <node name="tech-support"> + <properties> + <help>Generate tech support info</help> + </properties> + <children> + <node name="archive"> + <properties> + <help>Generate tech support archive</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py</command> + </node> + <tagNode name="archive"> + <properties> + <help>Generate tech support archive to defined location</help> + <completionHelp> + <list> <file> <scp://user:passwd@host> <ftp://user:passwd@host></list> + </completionHelp> + </properties> + <command>sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py $4</command> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |