Added comment to describe cahanges as requested

This commit is contained in:
Josh Smith 2015-10-05 13:43:38 -04:00
parent b59c007f85
commit 163896aceb

View File

@ -81,6 +81,9 @@ fi
cd "$TMP_DIR"
#Using the awk int function here to truncate the virtual image size to an
#integer since the fog-libvirt library does not seem to properly handle
#floating point.
IMG_SIZE=$(qemu-img info "$TMP_IMG" | awk '/virtual size/{print int($3);}' | tr -d 'G')
cat > metadata.json <<EOF