From 02d1ec664e9798f805272cf4e7c5bb40db433a6d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sun, 7 Nov 2010 01:49:17 +0100 Subject: [PATCH] non-ec2 clones allow m1 small to run 64bit images --- .../jclouds/aws/ec2/compute/suppliers/EC2HardwareSupplier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/core/src/main/java/org/jclouds/aws/ec2/compute/suppliers/EC2HardwareSupplier.java b/aws/core/src/main/java/org/jclouds/aws/ec2/compute/suppliers/EC2HardwareSupplier.java index 36dc9d2552..4a06e5c855 100644 --- a/aws/core/src/main/java/org/jclouds/aws/ec2/compute/suppliers/EC2HardwareSupplier.java +++ b/aws/core/src/main/java/org/jclouds/aws/ec2/compute/suppliers/EC2HardwareSupplier.java @@ -90,7 +90,7 @@ public class EC2HardwareSupplier implements Supplier> { sizes.add(cc1_4xlarge().location(location).supportsImageIds(ccAmi).build()); } sizes.addAll(ImmutableSet. of(t1_micro().build(), c1_medium().build(), c1_xlarge().build(), m1_large() - .build(), "nova".equals(providerName) ? m1_small().supportsImage(any()).build() : m1_small().build(), + .build(), !"ec2".equals(providerName) ? m1_small().supportsImage(any()).build() : m1_small().build(), m1_xlarge().build(), m2_xlarge().build(), m2_2xlarge().build(), m2_4xlarge().build())); return sizes; }