Details:
The file option says it will generate the file at the specified path but doesn't seem to work. Not even in the current location.
vyos@vyos:~$ generate tech-support archive file Possible completions: <Enter> Execute the current command <file> Generate compressed tech-support archive at the specified path <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>
vyos@vyos:~$ generate tech-support archive file Possible completions: <Enter> Execute the current command
It generated the archive by appending "file" in the name.
vyos@vyos:~$ pwd /home/vyos vyos@vyos:~$ generate tech-support archive file Saving the archives... Saved tech-support archival at /opt/vyatta/etc/config/support/file.vyos.tech-support-archive.2021-09-25-150643.tgz vyos@vyos:~$ ls -ltr total 0 vyos@vyos:~$
Tested in both latest rolling release and 1.2.8 version.