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:
committed by
Tobias Brunner
parent
7fa2719185
commit
8ed98c1373
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user