summaryrefslogtreecommitdiff
path: root/morphlib/exts
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/exts')
-rwxr-xr-xmorphlib/exts/nfsboot.write2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/exts/nfsboot.write b/morphlib/exts/nfsboot.write
index 34200793..e18ff798 100755
--- a/morphlib/exts/nfsboot.write
+++ b/morphlib/exts/nfsboot.write
@@ -95,7 +95,7 @@ class NFSBootWriteExtension(morphlib.writeexts.WriteExtension):
rootfs_dest = os.path.join('/srv/nfsboot/nfs', hostname)
rsync_dest = 'root@%s:%s' % (location, rootfs_dest)
cliapp.runcmd(
- ['rsync', '-a', rootfs_src, rsync_dest])
+ ['rsync', '-aXSPH', '--delete', rootfs_src, rsync_dest])
def configure_nfs(self, location, hostname):
rootfs_dest = os.path.join('/srv/nfsboot/nfs', hostname)