]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Verbosity changes
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Jun 2018 00:16:00 +0000 (21:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 15 Jun 2018 00:16:00 +0000 (21:16 -0300)
kvmx
kvmx-supervise

diff --git a/kvmx b/kvmx
index b5bf449902aafc7e7fd9699c0383155215dcdbbe..4732df9e177a06435ed2396ddf980b1da194b8d9 100755 (executable)
--- 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
index dd6f4943fa6ff071414c6622a9ee57a7b1e421a2..441c506526a7eafd0c16d13b3b6b61e49cb8e6d6 100755 (executable)
@@ -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
 }