~jdurgin/nova/fix-boot-from-volume-api-diablo

Viewing all changes in revision 1160.

  • Committer: Tarmac
  • Author(s): Scott Moser
  • Date: 2011-09-12 06:02:29 UTC
  • mfrom: (1130.403.1 nova)
  • Revision ID: tarmac-20110912060229-fquke19r7zb11jqz
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: