Index: trunk/packages/invirt-autoinstaller/host/usr/sbin/invirt-install
===================================================================
--- trunk/packages/invirt-autoinstaller/host/usr/sbin/invirt-install	(revision 2123)
+++ trunk/packages/invirt-autoinstaller/host/usr/sbin/invirt-install	(revision 2161)
@@ -13,6 +13,6 @@
 export DIST="$3"
 export MIRROR="$4"
-export FSSIZE="$5"    # in megabytes
-SWAPSIZE="$6"  # in megabytes
+export FSSIZE="$5"    # in mebibytes
+SWAPSIZE="$6"  # in mebibytes
 export IP="$7"
 
@@ -20,5 +20,5 @@
 VGNAME=xenvg
 
-#LVSIZE=`lvs --noheadings --units M --nosuffix -o Size /dev/xenvg/d_foobar_hda | sed 's/\..*//'`
+#LVSIZE=`lvs --noheadings --units m --nosuffix -o Size /dev/xenvg/d_foobar_hda | sed 's/\..*//'`
 
 if [ -z "$IP" ]; then
@@ -26,5 +26,5 @@
 fi
 
-/sbin/lvcreate -L $(($FSSIZE+$SWAPSIZE))M -n "${NAME}_hda" $VGNAME
+/sbin/lvcreate -L $(($FSSIZE+$SWAPSIZE))m -n "${NAME}_hda" $VGNAME
 
 export TARGET=/dev/mapper/xenvg-"$(echo "${NAME}_hda" | sed -e 's/-/--/g')"
