summaryrefslogtreecommitdiff
path: root/templates/delete
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-04-25 11:15:59 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-04-25 11:15:59 -0500
commit753e1a7c79df5e2766cd6fa807078c8e0f68c05e (patch)
tree195abc0ffa6ba2440ff7e4e34a1cf0c7b6dfb564 /templates/delete
parent9578473a2ba955a1b081dac28ea3aa2bbad88431 (diff)
parent7515f598b4283b65a76ea4175b3957c38bbd0eef (diff)
downloadvyatta-op-753e1a7c79df5e2766cd6fa807078c8e0f68c05e.tar.gz
vyatta-op-753e1a7c79df5e2766cd6fa807078c8e0f68c05e.zip
Merge branch 'napa' of http://git.vyatta.com/vyatta-op into napa
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