mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Added comment to describe cahanges as requested
This commit is contained in:
parent
b59c007f85
commit
163896aceb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user