diff options
author | Deepti Kulkarni <deepti@vyatta.com> | 2010-07-23 18:19:16 +0000 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-18 11:42:09 -0700 |
commit | 668bfe342afccb6f1c1288c1d6ae3a65167ffa40 (patch) | |
tree | 0403b653c3c665678537dd3e2c1bc59f66272946 /templates | |
parent | 173b7bad08a6440e8892156cbdcf607475a25b65 (diff) | |
download | vyatta-op-668bfe342afccb6f1c1288c1d6ae3a65167ffa40.tar.gz vyatta-op-668bfe342afccb6f1c1288c1d6ae3a65167ffa40.zip |
Adding 'generate tech-support archive'command
(cherry picked from commit 7d4d9c74b8105a27cc54f55ddb98ea90112e13c6)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/generate/node.def | 1 | ||||
-rw-r--r-- | templates/generate/tech-support/archive/node.def | 2 | ||||
-rw-r--r-- | templates/generate/tech-support/archive/node.tag/node.def | 4 | ||||
-rw-r--r-- | templates/generate/tech-support/node.def | 1 |
4 files changed, 8 insertions, 0 deletions
diff --git a/templates/generate/node.def b/templates/generate/node.def new file mode 100644 index 0000000..4acc647 --- /dev/null +++ b/templates/generate/node.def @@ -0,0 +1 @@ +help: Generate tech-support archival. diff --git a/templates/generate/tech-support/archive/node.def b/templates/generate/tech-support/archive/node.def new file mode 100644 index 0000000..68a5a2c --- /dev/null +++ b/templates/generate/tech-support/archive/node.def @@ -0,0 +1,2 @@ +help: Generate tech-support archival at the specified path. +run: ${vyatta_bindir}/tech-support-archive diff --git a/templates/generate/tech-support/archive/node.tag/node.def b/templates/generate/tech-support/archive/node.tag/node.def new file mode 100644 index 0000000..c6384ec --- /dev/null +++ b/templates/generate/tech-support/archive/node.tag/node.def @@ -0,0 +1,4 @@ +help: Generate ecompressed tech-support archival at the specificed path. +allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' +run: ${vyatta_bindir}/tech-support-archive "$4" + diff --git a/templates/generate/tech-support/node.def b/templates/generate/tech-support/node.def new file mode 100644 index 0000000..b916eaa --- /dev/null +++ b/templates/generate/tech-support/node.def @@ -0,0 +1 @@ +help: Generate tech-support archival for escalations. |