This commit is contained in:
Manfred Touron 2014-10-21 14:22:41 +00:00
parent 148e23660d
commit 093638dcd0
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ prepare_nbd_volume() {
sudo mkfs.ext4 "$device"
sudo mkdir -p "$TARGET.device"
sudo mount "$device" "$TARGET.device"
rsync -aHAX "$TARGET" "$TARGET.device"
rsync -aHAX "$TARGET/" "$TARGET.device"
fi
}