diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-09-13 17:36:17 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2023-09-13 17:36:17 +0100 |
commit | 8f08086c2a608529e97e0b76f75ce7d6616f8b31 (patch) | |
tree | f4579275783b696599166af6a47ce451911be023 /templates/show | |
parent | c7ba8da6b8cac22e6446b4e5a65ba117d1fe866e (diff) | |
download | vyatta-op-8f08086c2a608529e97e0b76f75ce7d6616f8b31.tar.gz vyatta-op-8f08086c2a608529e97e0b76f75ce7d6616f8b31.zip |
T671: remove the old tech-support report implementation
Diffstat (limited to 'templates/show')
20 files changed, 0 insertions, 148 deletions
diff --git a/templates/show/tech-support/brief/node.def b/templates/show/tech-support/brief/node.def deleted file mode 100644 index 9a4a624..0000000 --- a/templates/show/tech-support/brief/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Show brief tech-support report (private information removed) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/brief/save-uncompressed/node.def b/templates/show/tech-support/brief/save-uncompressed/node.def deleted file mode 100644 index 84b4ed0..0000000 --- a/templates/show/tech-support/brief/save-uncompressed/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save uncompressed brief tech-support report (private information removed) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save-uncompressed | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/brief/save-uncompressed/node.tag/node.def b/templates/show/tech-support/brief/save-uncompressed/node.tag/node.def deleted file mode 100644 index dad3949..0000000 --- a/templates/show/tech-support/brief/save-uncompressed/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save uncompressed brief tech-support report to specified path/file (private information removed) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save-uncompressed $5 | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/brief/save/node.def b/templates/show/tech-support/brief/save/node.def deleted file mode 100644 index 2f8a561..0000000 --- a/templates/show/tech-support/brief/save/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save brief tech-support report (private information removed) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/brief/save/node.tag/node.def b/templates/show/tech-support/brief/save/node.tag/node.def deleted file mode 100644 index f0cfe4a..0000000 --- a/templates/show/tech-support/brief/save/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save compressed brief tech-support report to specified path/file (private information removed) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save $5 | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/node.def b/templates/show/tech-support/node.def deleted file mode 100644 index c211e90..0000000 --- a/templates/show/tech-support/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Show consolidated tech-support report (private information removed) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/brief/node.def b/templates/show/tech-support/private/brief/node.def deleted file mode 100644 index cc06ccf..0000000 --- a/templates/show/tech-support/private/brief/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Show brief tech-support report (contains private information) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/brief/save-uncompressed/node.def b/templates/show/tech-support/private/brief/save-uncompressed/node.def deleted file mode 100644 index 9292428..0000000 --- a/templates/show/tech-support/private/brief/save-uncompressed/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save uncompressed brief tech-support report (contains private information) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save-uncompressed - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/brief/save-uncompressed/node.tag/node.def b/templates/show/tech-support/private/brief/save-uncompressed/node.tag/node.def deleted file mode 100644 index 0976413..0000000 --- a/templates/show/tech-support/private/brief/save-uncompressed/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save uncompressed brief tech-support report to specified path/file (contains private information) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save-uncompressed $5 - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/brief/save/node.def b/templates/show/tech-support/private/brief/save/node.def deleted file mode 100644 index d069ec2..0000000 --- a/templates/show/tech-support/private/brief/save/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save brief tech-support report (contains private information) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/brief/save/node.tag/node.def b/templates/show/tech-support/private/brief/save/node.tag/node.def deleted file mode 100644 index f56d02e..0000000 --- a/templates/show/tech-support/private/brief/save/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save compressed brief tech-support report to specified path/file (contains private information) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support-brief save $5 - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/node.def b/templates/show/tech-support/private/node.def deleted file mode 100644 index 32b4c15..0000000 --- a/templates/show/tech-support/private/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Show consolidated tech-support report (contains private information) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/save-uncompressed/node.def b/templates/show/tech-support/private/save-uncompressed/node.def deleted file mode 100644 index 424e78a..0000000 --- a/templates/show/tech-support/private/save-uncompressed/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save consolidated tech-support report uncompressed (contains private information) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed - else - echo Must be an admin user to run this command. - fi diff --git a/templates/show/tech-support/private/save-uncompressed/node.tag/node.def b/templates/show/tech-support/private/save-uncompressed/node.tag/node.def deleted file mode 100644 index f2f7572..0000000 --- a/templates/show/tech-support/private/save-uncompressed/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save uncompressed tech-support report to specified path/file (contains private information) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed $4 - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/save/node.def b/templates/show/tech-support/private/save/node.def deleted file mode 100644 index 87819f6..0000000 --- a/templates/show/tech-support/private/save/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save consolidated tech-support report (contains private information) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/private/save/node.tag/node.def b/templates/show/tech-support/private/save/node.tag/node.def deleted file mode 100644 index 5a7b500..0000000 --- a/templates/show/tech-support/private/save/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save compressed tech-support report to the specified path/file (contains private information) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save $4 - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/save-uncompressed/node.def b/templates/show/tech-support/save-uncompressed/node.def deleted file mode 100644 index 4d828f1..0000000 --- a/templates/show/tech-support/save-uncompressed/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save consolidated tech-support report uncompressed (private information removed) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed | strip-private - else - echo Must be an admin user to run this command. - fi diff --git a/templates/show/tech-support/save-uncompressed/node.tag/node.def b/templates/show/tech-support/save-uncompressed/node.tag/node.def deleted file mode 100644 index 4006afe..0000000 --- a/templates/show/tech-support/save-uncompressed/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save uncompressed tech-support report to specified path/file (private information removed) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save-uncompressed $4 | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/save/node.def b/templates/show/tech-support/save/node.def deleted file mode 100644 index ee1a2f1..0000000 --- a/templates/show/tech-support/save/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: Save consolidated tech-support report (private information removed) -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save | strip-private - else - echo Must be an admin user to run this command - fi diff --git a/templates/show/tech-support/save/node.tag/node.def b/templates/show/tech-support/save/node.tag/node.def deleted file mode 100644 index 675418b..0000000 --- a/templates/show/tech-support/save/node.tag/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Save compressed tech-support report to the specified path/file (private information removed) -allowed: echo -n '<file> <scp://<user>:<passwd>@<host>/<file>> <ftp://<user>:<passwd>@<host>/<file>>' -run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; - then - source ${vyatta_datadir}/vyatta-op/functions/tech-support save $4 | strip-private - else - echo Must be an admin user to run this command - fi |