Commit d28bf3c4 authored by Holger Levsen's avatar Holger Levsen

g-i: stop using --virtualsize to avoid automatic thin provisioning

Signed-off-by: Holger Levsen's avatarHolger Levsen <>
parent cb9f9abe
......@@ -184,8 +184,7 @@ show_preseed() {
bootstrap_system() {
echo "Creating throw-away logical volume with ${DISKSIZE_IN_GB} GiB now."
# the --virtualsize option will not be needed once wheezy is not tested anymore
sudo lvcreate --virtualsize ${DISKSIZE_IN_GB}G -L${DISKSIZE_IN_GB}G -n $NAME $VG
sudo lvcreate -L${DISKSIZE_IN_GB}G -n $NAME $VG
echo "Creating raw disk image with ${DISKSIZE_IN_GB} GiB now."
sudo qemu-img create -f raw $LV ${DISKSIZE_IN_GB}G
echo "Doing g-i installation test for $NAME now."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment