Switch from raw images to qcow2 format

This allows to use minimal copy-on-write clones of the base image as
guest images, which in turn saves a lot of disk space.
This commit is contained in:
Reto Buerki
2013-01-17 16:54:54 +01:00
committed by Tobias Brunner
parent 7fa2719185
commit 8ed98c1373
15 changed files with 113 additions and 46 deletions
+3 -1
View File
@@ -40,7 +40,7 @@ LOOPDIR=$BUILDDIR/loop
ROOTFSSIZE=1024
ROOTFSSUITE=wheezy
ROOTFSARCH=amd64
ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.img
ROOTFS=$BUILDDIR/debian-$ROOTFSSUITE-$ROOTFSARCH.qcow2
ROOTFSMIRROR=http://cdn.debian.net/debian
ROOTFSCOMPILEDIR=$BUILDDIR/compile
@@ -48,6 +48,8 @@ ROOTFSCOMPILEDIR=$BUILDDIR/compile
ROOTFSDIR=$BUILDDIR/root-fs
# libvirt config
NBDEV=/dev/nbd0
NBDPARTITION=${NBDEV}p1
VIRTIMGSTORE=/var/lib/libvirt/images
# Directory where test results will be stored