-
Committer:
Tarmac
-
Author(s):
Scott Moser
-
Date:
2011-09-12 02:23:20 UTC
-
mfrom:
(1524.1.1 nova)
-
Revision ID:
tarmac-20110912022320-0xny8oej5vvik8gh
use 'qemu-image resize' rather than 'truncate' to grow image files
qcow-image is capable of growing qcow formated disks in addition to
being able to grow a qcow formated one. (LP: #836759)
I've verified that after this change both a full disk uploaded as 'raw' and one that was uploaded as 'qcow2' are correctly resized, and that in oneiric, the instance has its root filesystem resized for /dev/vda1 correctly.