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
+1 -1
View File
@@ -22,7 +22,7 @@ done
for host in $STRONGSWANHOSTS
do
ln -fs $ROOTFSDIR/$host.img $VIRTIMGSTORE/$host.img
ln -fs $ROOTFSDIR/$host.qcow2 $VIRTIMGSTORE/$host.qcow2
log_action "Guest $host"
execute "virsh create $CONFDIR/$host.xml"
done