summaryrefslogtreecommitdiff
path: root/templates/delete
diff options
context:
space:
mode:
Diffstat (limited to 'templates/delete')
-rw-r--r--templates/delete/files/node.def1
-rw-r--r--templates/delete/files/node.tag/node.def4
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/delete/files/node.def b/templates/delete/files/node.def
new file mode 100644
index 0000000..92c8f6c
--- /dev/null
+++ b/templates/delete/files/node.def
@@ -0,0 +1 @@
+help: Delete files in a particular image
diff --git a/templates/delete/files/node.tag/node.def b/templates/delete/files/node.tag/node.def
new file mode 100644
index 0000000..715ba48
--- /dev/null
+++ b/templates/delete/files/node.tag/node.def
@@ -0,0 +1,4 @@
+help: Delete files in the specified directory
+comptype: imagefiles
+allowed: echo -n "<imagefiles>"
+run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --delete=$3