summaryrefslogtreecommitdiff
path: root/templates/install-image
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2009-11-02 15:46:52 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2009-11-02 15:46:52 -0800
commitba998923a71e9a92cb60617f34695b087d3cf6c5 (patch)
tree15e3fc97a5cd66df1e5700638af291f68f9cf004 /templates/install-image
parentd14f9f0c60e08350283ac3e15171fb996709fcae (diff)
downloadvyatta-op-ba998923a71e9a92cb60617f34695b087d3cf6c5.tar.gz
vyatta-op-ba998923a71e9a92cb60617f34695b087d3cf6c5.zip
add install-image op commands
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"