Small fix to contrib VirtualBox script

Fixed VirtualBox script to create final VDI file at correct location.
Removed the file extension from VirtualBox script.
This commit is contained in:
Fabrício Godoy 2014-04-08 23:19:59 -03:00
parent dd8e7c8be4
commit a1941954e3

View File

@ -218,7 +218,7 @@ chown -R $CORE_UID:$CORE_GID "${CORE_SSH_DIR}"
umount "${MOUNT_DEST}"
echo "Converting ${RAW_IMAGE_NAME} to VirtualBox format..."
VBoxManage convertdd ${DOWN_IMAGE} ${VDI_IMAGE_NAME} --format VDI
VBoxManage convertdd ${DOWN_IMAGE} ${VDI_IMAGE} --format VDI
rm -rf "${WORKDIR}"
trap - EXIT