summaryrefslogtreecommitdiff
path: root/templates/install-image
diff options
context:
space:
mode:
Diffstat (limited to 'templates/install-image')
-rw-r--r--templates/install-image/node.def2
-rw-r--r--templates/install-image/node.tag/node.def3
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/install-image/node.def b/templates/install-image/node.def
new file mode 100644
index 0000000..e229319
--- /dev/null
+++ b/templates/install-image/node.def
@@ -0,0 +1,2 @@
+help: Install new system image to hard drive
+run: sudo /opt/vyatta/sbin/install-image
diff --git a/templates/install-image/node.tag/node.def b/templates/install-image/node.tag/node.def
new file mode 100644
index 0000000..af0ecad
--- /dev/null
+++ b/templates/install-image/node.tag/node.def
@@ -0,0 +1,3 @@
+help: The new system image file to be installed
+allowed: echo -n '<ISO_image_file>'
+run: sudo /opt/vyatta/sbin/install-image "$2"