diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2009-11-02 15:46:52 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2009-11-02 15:46:52 -0800 |
commit | ba998923a71e9a92cb60617f34695b087d3cf6c5 (patch) | |
tree | 15e3fc97a5cd66df1e5700638af291f68f9cf004 | |
parent | d14f9f0c60e08350283ac3e15171fb996709fcae (diff) | |
download | vyatta-op-ba998923a71e9a92cb60617f34695b087d3cf6c5.tar.gz vyatta-op-ba998923a71e9a92cb60617f34695b087d3cf6c5.zip |
add install-image op commands
-rw-r--r-- | templates/install-image/node.def | 2 | ||||
-rw-r--r-- | templates/install-image/node.tag/node.def | 3 |
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" |