summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-04-25 18:54:52 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-04-25 18:54:52 -0500
commit4d8f17decb63d04ca9d478381e4a94b17333b1d0 (patch)
treeb863493605e1dd01af9e9d1d6f4e601692e90fb7 /templates
parentb601b4d782b7cbc2583461a4d3aad00499fc7aa8 (diff)
downloadvyatta-op-4d8f17decb63d04ca9d478381e4a94b17333b1d0.tar.gz
vyatta-op-4d8f17decb63d04ca9d478381e4a94b17333b1d0.zip
Add options when copying a directory to another directory
Diffstat (limited to 'templates')
-rw-r--r--templates/copy/files/node.tag/node.def5
-rw-r--r--templates/copy/files/node.tag/to/node.tag/node.def5
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/copy/files/node.tag/node.def b/templates/copy/files/node.tag/node.def
index 8df0e7c..c52dccd 100644
--- a/templates/copy/files/node.tag/node.def
+++ b/templates/copy/files/node.tag/node.def
@@ -1,3 +1,6 @@
-help: Directory to copy files from
+help: Copy files from specified source
+ scp://<user>:<passwd>@<host>/<file>
+ ftp://<user>:<passwd>@<host>/<file>
+ tftp://<host>/<file>
comptype: imagefiles
allowed: echo -n "<imagefiles>"
diff --git a/templates/copy/files/node.tag/to/node.tag/node.def b/templates/copy/files/node.tag/to/node.tag/node.def
index 751783b..75d4aff 100644
--- a/templates/copy/files/node.tag/to/node.tag/node.def
+++ b/templates/copy/files/node.tag/to/node.tag/node.def
@@ -1,4 +1,7 @@
-help: Directory to copy files to
+help: Copy files to specified destination
+ scp://<user>:<passwd>@<host>/<file>
+ ftp://<user>:<passwd>@<host>/<file>
+ tftp://<host>/<file>
comptype: imagefiles
allowed: echo -n "<imagefiles>"
run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --copy $3 $5