summaryrefslogtreecommitdiff
path: root/morphlib/exts/ssh-rsync.write.help
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-09 17:37:45 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-12-09 17:37:45 +0000
commitd6a8067d6bfd929fa7505e019a4e6ea63e1210ea (patch)
treefd8c8ae8601050f2538c14769a20c0559e10f604 /morphlib/exts/ssh-rsync.write.help
parentcb880f3554d9cf8daa3839dcd7a7ed2c336df85b (diff)
parentf7ca518de2f6761059d107e0e59ab470dd625192 (diff)
downloadmorph-d6a8067d6bfd929fa7505e019a4e6ea63e1210ea.tar.gz
Merge remote-tracking branch 'petefoth/pf-document-extensions'
Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
Diffstat (limited to 'morphlib/exts/ssh-rsync.write.help')
-rw-r--r--morphlib/exts/ssh-rsync.write.help36
1 files changed, 36 insertions, 0 deletions
diff --git a/morphlib/exts/ssh-rsync.write.help b/morphlib/exts/ssh-rsync.write.help
new file mode 100644
index 00000000..4ef666e8
--- /dev/null
+++ b/morphlib/exts/ssh-rsync.write.help
@@ -0,0 +1,36 @@
+help: |
+
+ Upgrade a Baserock system which is already deployed:
+ - as a KVM/LibVirt, OpenStack or vbox-ssh virtual machine;
+ - on a Jetson board.
+
+ Copies a binary delta over to the target system and arranges for it
+ to be bootable.
+
+ The recommended way to use this extension is by calling `morph upgrade`.
+ Using `morph deploy --upgrade` is deprecated.
+
+ The upgrade will fail if:
+ - no VM is deployed and running at `location`;
+ - the target system is not a Baserock system;
+ - the target's filesystem and its layout are not compatible with that
+ created by `morph deploy`."
+
+ See also the 'Upgrading a Baserock installation' section of the 'Using
+ Baserock` page at wiki.baserock.org
+ http://wiki.baserock.org/devel-with/#index8h2
+
+ Parameters:
+
+ * location: the 'user@hostname' string that will be used by ssh and rsync.
+ 'user' will always be `root` and `hostname` the hostname or address of the
+ system being upgraded.
+
+ * VERSION_LABEL=label - **(MANDATORY)** should contain only alpha-numeric
+ characters and the '-' (hyphen) character.
+
+ * AUTOSTART=<VALUE>` - boolean. If it is set, the VM will be started when
+ it has been deployed.
+
+ (See `morph help deploy` for details of how to pass parameters to write
+ extensions)