Jclouds 1.5 has a concept called TemplateBuilderSpec which allows you to declare a String representation of TemplateBuilder mechanics.
This allows you to set a property to override the default templates used in jclouds. For ex. aws-ec2.template=imageId=ami-foo,hardwareId=m1.large,locationId=eu-west-1 Importantly, these are just strings, so you can publish a series per operating system family, and choose at runtime with templateBuilder.from(spec) Ex. You can make your own Map<String, TemplateBuilderSpec> with your favorite choices, perhaps locking in templates by id so you don't have to maintain the brittle java install scripts. Ex. templates.get("oneiric-java-ec2"); Regardless of how this is used, the important part is that the constant complaints of automatic selection can now be over, as we can provide a properties syntax to afford users a means to supply their preferences declaratively. I hope this helps, -A On May 29, 2012 5:39 AM, "Andrei Savu" <savu.and...@gmail.com> wrote: > Good to know. I guess we have yet another issue we need to fix related to > automatic AMI selection. > On May 29, 2012 3:35 PM, "Andrii Vozniuk" <and...@vozniuk.com> wrote: > > > Thanks Andrei, > > > > I suspect there is something strange happening with the Ubuntu > > > repositories. Try > > > setting the AMI ID. > > > > > > > using whirr.image-id=us-east-1/ami-da0cf8b3 for Ubuntu 10.04 LTS worked > for > > me. > > > > -- > > Best regards > > Andrii Vozniuk > > >