summaryrefslogtreecommitdiff
path: root/morphlib/exts/ssh-rsync.write
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
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')
-rwxr-xr-xmorphlib/exts/ssh-rsync.write10
1 files changed, 2 insertions, 8 deletions
diff --git a/morphlib/exts/ssh-rsync.write b/morphlib/exts/ssh-rsync.write
index 2d7258ba..c4577026 100755
--- a/morphlib/exts/ssh-rsync.write
+++ b/morphlib/exts/ssh-rsync.write
@@ -37,14 +37,8 @@ def ssh_runcmd_ignore_failure(location, command, **kwargs):
class SshRsyncWriteExtension(morphlib.writeexts.WriteExtension):
- '''Upgrade a running baserock system with ssh and rsync.
-
- It assumes the system is baserock-based and has a btrfs partition.
-
- The location command line argument is the 'user@hostname' string
- that will be passed to ssh and rsync
-
- '''
+ '''See ssh-rsync.write.help for documentation'''
+
def find_root_disk(self, location):
'''Read /proc/mounts on location to find which device contains "/"'''