I'm running natty, and I'm able to easily reproduce this by doing: $ d=$(mktemp -d) $ truncate --size 1440K "${d}/file.img"; $ mkdir "${d}/dest" $ euca-bundle-image --image ${d}/file.img --arch i386 --dest "${d}/dest"
The patch I'm attaching fixes the bug for euca2ools in ubuntu, it would need to be applied to euca2ools trunk.
I'm running natty, and I'm able to easily reproduce this by doing:
$ d=$(mktemp -d)
$ truncate --size 1440K "${d}/file.img";
$ mkdir "${d}/dest"
$ euca-bundle-image --image ${d}/file.img --arch i386 --dest "${d}/dest"
The patch I'm attaching fixes the bug for euca2ools in ubuntu, it would need to be applied to euca2ools trunk.