From 834406cafa26a4010daa9b38973b8e718f3f0e38 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 12 Apr 2012 13:55:56 +0200 Subject: [PATCH] rsync sliceimage -> .lvref with --delete option for more accurate updates --- initscripts/lxc-sliceimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initscripts/lxc-sliceimage b/initscripts/lxc-sliceimage index e17f838..2aa522c 100755 --- a/initscripts/lxc-sliceimage +++ b/initscripts/lxc-sliceimage @@ -30,7 +30,7 @@ function start () { # xxx what is that ? #btrfs subvolume create $lxc_dir/lxc-squeeze-x86_64 # copy the slice image into the btrfs ? - rsync -av $sliceimage_dir/$slicefamily/ $lxc_dir/$slicefamily/ + rsync -av --delete $sliceimage_dir/$slicefamily/ $lxc_dir/$slicefamily/ done } -- 2.43.0