summaryrefslogtreecommitdiff
path: root/templates/delete
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-08 16:11:24 +0000
committerGitHub <noreply@github.com>2024-02-08 16:11:24 +0000
commit0949fdbf93cd76d7f8c65ed56cdfc27a43c1944f (patch)
treedd4401900444d1888ff3a04bfa23feb823e27450 /templates/delete
parent6a0b841718bb83cffbbb198c788f7d634c4c9dc0 (diff)
parent6e94def372856437d6e2fd6252ae272cc502c87e (diff)
downloadvyatta-op-0949fdbf93cd76d7f8c65ed56cdfc27a43c1944f.tar.gz
vyatta-op-0949fdbf93cd76d7f8c65ed56cdfc27a43c1944f.zip
Merge pull request #84 from erkin/current
op-mode: T4038: Remove legacy `vyatta-image-tools.pl`
Diffstat (limited to 'templates/delete')
-rw-r--r--templates/delete/file/node.def1
-rw-r--r--templates/delete/file/node.tag/node.def10
2 files changed, 0 insertions, 11 deletions
diff --git a/templates/delete/file/node.def b/templates/delete/file/node.def
deleted file mode 100644
index 92c8f6c..0000000
--- a/templates/delete/file/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Delete files in a particular image
diff --git a/templates/delete/file/node.tag/node.def b/templates/delete/file/node.tag/node.def
deleted file mode 100644
index 0faf383..0000000
--- a/templates/delete/file/node.tag/node.def
+++ /dev/null
@@ -1,10 +0,0 @@
-help: Delete files in the specified directory
-comptype: imagefiles
-allowed: echo -n "<imagefiles>"
-run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ];
- then
- sudo ${vyatta_sbindir}/vyatta-image-tools.pl --delete=$3
- else
- echo Must be an admin user to run this command.
- fi
-