diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-07-01 12:56:25 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2024-07-03 13:00:28 +0100 |
commit | 7958c9794813f399a2e113896410c0c03d29663d (patch) | |
tree | 6375caded54c44aa0ddbf0ce7927dfc3faef2ec0 /op-mode-definitions/generate_tech-support_archive.xml.in | |
parent | e270712f7ebd76e4e1be598766d999cef4f05e26 (diff) | |
download | vyos-1x-7958c9794813f399a2e113896410c0c03d29663d.tar.gz vyos-1x-7958c9794813f399a2e113896410c0c03d29663d.zip |
op-mode: T6498: add machine-readable tech support report script
Diffstat (limited to 'op-mode-definitions/generate_tech-support_archive.xml.in')
-rw-r--r-- | op-mode-definitions/generate_tech-support_archive.xml.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/generate_tech-support_archive.xml.in b/op-mode-definitions/generate_tech-support_archive.xml.in index e95be3e28..fc664eb90 100644 --- a/op-mode-definitions/generate_tech-support_archive.xml.in +++ b/op-mode-definitions/generate_tech-support_archive.xml.in @@ -11,16 +11,16 @@ <properties> <help>Generate tech support archive</help> </properties> - <command>sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py</command> + <command>sudo ${vyos_op_scripts_dir}/tech_support.py show --raw | gzip> $4.json.gz</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> + <list> <file> </list> </completionHelp> </properties> - <command>sudo ${vyos_op_scripts_dir}/generate_tech-support_archive.py $4</command> + <command>sudo ${vyos_op_scripts_dir}/tech_support.py show --raw | gzip > $4.json.gz</command> </tagNode> </children> </node> |