diff options
-rwxr-xr-x | kvmx | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -244,7 +244,11 @@ function kvmx_up { fi echo "Copying base image $baseimage to $image..." - cp $baseimage $image + if which rsync &> /dev/null; then + rsync -ah --progress $baseimage $image + else + cp $baseimage $image + fi if [ -e "$basekey" ]; then imagekey="`dirname $image`/ssh/`basename $image .img`.key" |