From ba998923a71e9a92cb60617f34695b087d3cf6c5 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 2 Nov 2009 15:46:52 -0800 Subject: add install-image op commands --- templates/install-image/node.def | 2 ++ templates/install-image/node.tag/node.def | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 templates/install-image/node.def create mode 100644 templates/install-image/node.tag/node.def (limited to 'templates/install-image') 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 '' +run: sudo /opt/vyatta/sbin/install-image "$2" -- cgit v1.2.3