From 65911b17340a7894aba973113d83ab43964bbf99 Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Mon, 16 Oct 2023 12:25:02 +0300 Subject: op-mode: T5642: 'generate tech-support archive' moved to vyos-1x 'generate tech-support archive' moved to vyos-1x. Output of 'show tech-support report' command is added to archive. The default location of the archive is moved to '/tmp'. The script is rewritten to Python. --- .../generate_tech-support_archive.xml.in | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 op-mode-definitions/generate_tech-support_archive.xml.in (limited to 'op-mode-definitions/generate_tech-support_archive.xml.in') 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 @@ + + + + + + + Generate tech support info + + + + + Generate tech support archive + + sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py + + + + Generate tech support archive to defined location + + <file> <scp://user:passwd@host> <ftp://user:passwd@host> + + + sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py $4 + + + + + + -- cgit v1.2.3