summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2014-04-01 03:27:53 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2014-04-01 03:27:53 +0000
commit64f10305f3303ea933314558d1433c33be218e29 (patch)
tree52b7731c93de3d4dda989bfc7d5411870f6faee8
parent764bb0acfb8744064d6081b00046c7f83808ced6 (diff)
downloadmorph-baserock/markdoffman/s10617/add-yaml-help-option.tar.gz
Add help files for nfsboot, rawdisk and tar.baserock/markdoffman/s10617/add-yaml-help-option
Begin adding help documentation for configuration and write extensions starting with nfsboot.write, rawdisk.write and tar.write.
-rw-r--r--morphlib/exts/nfsboot.write.help12
-rw-r--r--morphlib/exts/rawdisk.write.help7
-rw-r--r--morphlib/exts/tar.write.help5
3 files changed, 24 insertions, 0 deletions
diff --git a/morphlib/exts/nfsboot.write.help b/morphlib/exts/nfsboot.write.help
new file mode 100644
index 00000000..598b1b23
--- /dev/null
+++ b/morphlib/exts/nfsboot.write.help
@@ -0,0 +1,12 @@
+help: |
+ Deploy a system image and kernel to an nfsboot server.
+
+ An nfsboot server is defined as a baserock system that has
+ tftp and nfs servers running, the tftp server is exporting
+ the contents of /srv/nfsboot/tftp/ and the user has sufficient
+ permissions to create nfs roots in /srv/nfsboot/nfs/.
+
+ The `location` argument is the hostname of the nfsboot server.
+
+ The extension will connect to root@HOST via ssh to copy the
+ kernel and rootfs, and configure the nfs server.
diff --git a/morphlib/exts/rawdisk.write.help b/morphlib/exts/rawdisk.write.help
new file mode 100644
index 00000000..a514a4e8
--- /dev/null
+++ b/morphlib/exts/rawdisk.write.help
@@ -0,0 +1,7 @@
+help: |
+ Create a raw disk image during Morph's deployment.
+
+ If the image already exists, it is upgraded.
+
+ The `location` argument is a pathname to the image to be
+ created or upgraded.
diff --git a/morphlib/exts/tar.write.help b/morphlib/exts/tar.write.help
new file mode 100644
index 00000000..f052ac03
--- /dev/null
+++ b/morphlib/exts/tar.write.help
@@ -0,0 +1,5 @@
+help: |
+ Create a .tar file of the deployed system.
+
+ The `location` argument is a pathname to the .tar file to be
+ created.