summaryrefslogtreecommitdiff
path: root/templates/copy/file
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-04-28 16:36:38 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-04-28 16:36:38 -0500
commitd93d2275eba8e7ce1d1bae31e069e696120b0008 (patch)
tree3dff8e4928f1bf1ff3bcfe01fc8793891d0f4f19 /templates/copy/file
parentfac678441717efbd2100a85cb3561ea1e513c3b8 (diff)
downloadvyatta-op-d93d2275eba8e7ce1d1bae31e069e696120b0008.tar.gz
vyatta-op-d93d2275eba8e7ce1d1bae31e069e696120b0008.zip
rename 'files' to 'file' in templates for image-tools
Diffstat (limited to 'templates/copy/file')
-rw-r--r--templates/copy/file/node.def1
-rw-r--r--templates/copy/file/node.tag/node.def6
-rw-r--r--templates/copy/file/node.tag/to/node.def1
-rw-r--r--templates/copy/file/node.tag/to/node.tag/node.def7
4 files changed, 15 insertions, 0 deletions
diff --git a/templates/copy/file/node.def b/templates/copy/file/node.def
new file mode 100644
index 0000000..e1b2447
--- /dev/null
+++ b/templates/copy/file/node.def
@@ -0,0 +1 @@
+help: Copy files
diff --git a/templates/copy/file/node.tag/node.def b/templates/copy/file/node.tag/node.def
new file mode 100644
index 0000000..c52dccd
--- /dev/null
+++ b/templates/copy/file/node.tag/node.def
@@ -0,0 +1,6 @@
+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/file/node.tag/to/node.def b/templates/copy/file/node.tag/to/node.def
new file mode 100644
index 0000000..21f3ade
--- /dev/null
+++ b/templates/copy/file/node.tag/to/node.def
@@ -0,0 +1 @@
+help: Path to copy into
diff --git a/templates/copy/file/node.tag/to/node.tag/node.def b/templates/copy/file/node.tag/to/node.tag/node.def
new file mode 100644
index 0000000..75d4aff
--- /dev/null
+++ b/templates/copy/file/node.tag/to/node.tag/node.def
@@ -0,0 +1,7 @@
+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