summaryrefslogtreecommitdiff
path: root/templates/delete
diff options
context:
space:
mode:
Diffstat (limited to 'templates/delete')
-rw-r--r--templates/delete/system/image/node.tag/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/delete/system/image/node.tag/node.def b/templates/delete/system/image/node.tag/node.def
new file mode 100644
index 0000000..2c26bf4
--- /dev/null
+++ b/templates/delete/system/image/node.tag/node.def
@@ -0,0 +1,10 @@
+help: Default boot image name
+
+allowed:
+ local -a images ;
+ images=`/opt/vyatta/bin/vyatta-boot-image.pl --list`
+ echo -n $images
+
+run:
+ image=$4
+ sudo /opt/vyatta/bin/vyatta-boot-image.pl --del $image