aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-14 21:16:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-14 21:16:00 -0300
commite689eb995253a1861998514e49888430456f194b (patch)
tree564d35ba9a09db35432bb8e6f21ae4ef97117f2a
parent85b75902e8866076844e41b6c9406f94bf54305f (diff)
downloadkvmx-e689eb995253a1861998514e49888430456f194b.tar.gz
kvmx-e689eb995253a1861998514e49888430456f194b.tar.bz2
Verbosity changes
-rwxr-xr-xkvmx1
-rwxr-xr-xkvmx-supervise2
2 files changed, 2 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index b5bf449..4732df9 100755
--- a/kvmx
+++ b/kvmx
@@ -1750,6 +1750,7 @@ function kvmx_compress {
local size_before_bytes="`du $image | awk '{ print $1 }'`"
local size_before_human="`du -h $image | awk '{ print $1 }'`"
+ echo "$BASENAME: compressing $image..."
qemu-img convert -O qcow2 -p $compression $image $image.new && mv $image.new $image || exit 1
# Size after compression
diff --git a/kvmx-supervise b/kvmx-supervise
index dd6f494..441c506 100755
--- a/kvmx-supervise
+++ b/kvmx-supervise
@@ -115,7 +115,7 @@ function kvmx_supervise_foreach {
user="`echo $instance | cut -d / -f 3`"
vm="`basename $instance`"
- echo "Processing $mv guest..."
+ #echo "$BASENAME: $vm guest..."
kvmx_supervise_call $user $vm $*
done
}