Change lxc-clone to use 'rsync -aH' instead of just 'rsync -a' for cloning to fix Launchpad Bug #1441307.

Signed-off-by: Erik B. Andersen <erik.b.andersen@gmail.com>
This commit is contained in:
Erik B. Andersen 2015-05-14 21:39:57 -07:00
parent 8ec0243d0a
commit 6a69816295

View File

@ -94,7 +94,7 @@ static int do_rsync(const char *src, const char *dest)
s[l-2] = '/';
s[l-1] = '\0';
execlp("rsync", "rsync", "-a", s, dest, (char *)NULL);
execlp("rsync", "rsync", "-aH", s, dest, (char *)NULL);
exit(1);
}