diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-04-23 12:48:18 -0700 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-04-23 12:48:18 -0700 |
commit | 1d0cd8922bab1d8d53b886b8287baeb22979d087 (patch) | |
tree | f01a00eb1e79279a06395a9d718508015da3a18b /templates/show/files | |
parent | 17e28be540ef15c57d11b07cb8b9ad1365163078 (diff) | |
download | vyatta-op-1d0cd8922bab1d8d53b886b8287baeb22979d087.tar.gz vyatta-op-1d0cd8922bab1d8d53b886b8287baeb22979d087.zip |
Initial addition of image op mode tools
Diffstat (limited to 'templates/show/files')
-rw-r--r-- | templates/show/files/node.def | 2 | ||||
-rw-r--r-- | templates/show/files/node.tag/node.def | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/show/files/node.def b/templates/show/files/node.def index 7f9efd0..a6c408d 100644 --- a/templates/show/files/node.def +++ b/templates/show/files/node.def @@ -1 +1 @@ -help: Show file information +help: Show files for a particular image diff --git a/templates/show/files/node.tag/node.def b/templates/show/files/node.tag/node.def index 0448ad4..7e205da 100644 --- a/templates/show/files/node.tag/node.def +++ b/templates/show/files/node.tag/node.def @@ -1,3 +1,4 @@ help: Show files in the specified directory -allowed: echo -n '<pathname>' -run: ls -lh "$3" +comptype: imagefiles +allowed: echo -n "<imagefiles>" +run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --show=$3 |