summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/add/system/image/node.def1
-rw-r--r--templates/add/system/image/node.tag/node.def (renamed from templates/install-image/node.tag/node.def)2
-rw-r--r--templates/add/system/node.def1
3 files changed, 3 insertions, 1 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/install-image/node.tag/node.def b/templates/add/system/image/node.tag/node.def
index a2f8107..f5bdf6a 100644
--- a/templates/install-image/node.tag/node.def
+++ b/templates/add/system/image/node.tag/node.def
@@ -2,4 +2,4 @@ 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 "$2"
+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