diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-16 20:37:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 20:37:44 +0200 |
commit | bc0330808b211f4b6eedc87e9dd9749f1e91d9aa (patch) | |
tree | 4030e2f437460111616b60c0ed30e83e25d236c3 /op-mode-definitions/generate_tech-support_archive.xml.in | |
parent | b7359833c6663ac3b00439feae751e968ce68b99 (diff) | |
parent | 65911b17340a7894aba973113d83ab43964bbf99 (diff) | |
download | vyos-1x-bc0330808b211f4b6eedc87e9dd9749f1e91d9aa.tar.gz vyos-1x-bc0330808b211f4b6eedc87e9dd9749f1e91d9aa.zip |
Merge pull request #2367 from aapostoliuk/T5642-current
op-mode: T5642: 'generate tech-support archive' moved to vyos-1x
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> |