I'd like to be able to use libcloud to increase the root disk size of
an ec2 image upon launch.

This blog post covers what I want to do:
http://alestic.com/2009/12/ec2-ebs-boot-resize

If I were using the amazon tools it would look something like this:

ec2-run-instances --key KEYPAIR --block-device-mapping /dev/sda1=:100
ami-1aad5273

The end result is instead of the 8GB file system that the official
Ubuntu image uses by default - I'll have a 100 GB file system after I
run resize2fs.

How can I pass a block-device-mapping parameter when creating a node
using libcloud?

Thanks

Reply via email to