summaryrefslogtreecommitdiff
path: root/templates/add
diff options
context:
space:
mode:
Diffstat (limited to 'templates/add')
-rw-r--r--templates/add/system/image/node.def1
-rw-r--r--templates/add/system/image/node.tag/node.def5
-rw-r--r--templates/add/system/node.def1
3 files changed, 7 insertions, 0 deletions
diff --git a/templates/add/system/image/node.def b/templates/add/system/image/node.def
new file mode 100644
index 0000000..5583a40
--- /dev/null
+++ b/templates/add/system/image/node.def
@@ -0,0 +1 @@
+help: Add a new image to the system
diff --git a/templates/add/system/image/node.tag/node.def b/templates/add/system/image/node.tag/node.def
new file mode 100644
index 0000000..f5bdf6a
--- /dev/null
+++ b/templates/add/system/image/node.tag/node.def
@@ -0,0 +1,5 @@
+help: File name or URL of system image file to be installed
+
+allowed: echo -n '<ISO_file> <ISO_URL>'
+
+run: sudo /opt/vyatta/sbin/install-image "$4"
diff --git a/templates/add/system/node.def b/templates/add/system/node.def
new file mode 100644
index 0000000..71af888
--- /dev/null
+++ b/templates/add/system/node.def
@@ -0,0 +1 @@
+help: Add an item to a system facility