summaryrefslogtreecommitdiff
path: root/templates/copy
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-04-23 12:48:18 -0700
committerJohn Southworth <john.southworth@vyatta.com>2011-04-23 12:48:18 -0700
commit1d0cd8922bab1d8d53b886b8287baeb22979d087 (patch)
treef01a00eb1e79279a06395a9d718508015da3a18b /templates/copy
parent17e28be540ef15c57d11b07cb8b9ad1365163078 (diff)
downloadvyatta-op-1d0cd8922bab1d8d53b886b8287baeb22979d087.tar.gz
vyatta-op-1d0cd8922bab1d8d53b886b8287baeb22979d087.zip
Initial addition of image op mode tools
Diffstat (limited to 'templates/copy')
-rw-r--r--templates/copy/files/node.def1
-rw-r--r--templates/copy/files/node.tag/node.def3
-rw-r--r--templates/copy/files/node.tag/to/node.def1
-rw-r--r--templates/copy/files/node.tag/to/node.tag/node.def4
-rw-r--r--templates/copy/node.def1
5 files changed, 10 insertions, 0 deletions
diff --git a/templates/copy/files/node.def b/templates/copy/files/node.def
new file mode 100644
index 0000000..e1b2447
--- /dev/null
+++ b/templates/copy/files/node.def
@@ -0,0 +1 @@
+help: Copy files
diff --git a/templates/copy/files/node.tag/node.def b/templates/copy/files/node.tag/node.def
new file mode 100644
index 0000000..8df0e7c
--- /dev/null
+++ b/templates/copy/files/node.tag/node.def
@@ -0,0 +1,3 @@
+help: Directory to copy files from
+comptype: imagefiles
+allowed: echo -n "<imagefiles>"
diff --git a/templates/copy/files/node.tag/to/node.def b/templates/copy/files/node.tag/to/node.def
new file mode 100644
index 0000000..21f3ade
--- /dev/null
+++ b/templates/copy/files/node.tag/to/node.def
@@ -0,0 +1 @@
+help: Path to copy into
diff --git a/templates/copy/files/node.tag/to/node.tag/node.def b/templates/copy/files/node.tag/to/node.tag/node.def
new file mode 100644
index 0000000..751783b
--- /dev/null
+++ b/templates/copy/files/node.tag/to/node.tag/node.def
@@ -0,0 +1,4 @@
+help: Directory to copy files to
+comptype: imagefiles
+allowed: echo -n "<imagefiles>"
+run: sudo ${vyatta_sbindir}/vyatta-image-tools.pl --copy $3 $5
diff --git a/templates/copy/node.def b/templates/copy/node.def
new file mode 100644
index 0000000..9557b10
--- /dev/null
+++ b/templates/copy/node.def
@@ -0,0 +1 @@
+help: Copy data