revised default disk size for cloudsigma

This commit is contained in:
Adrian Cole 2010-12-20 15:40:48 +01:00
parent 413900bac0
commit 0f5f97d6d3
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public class CloudSigmaComputeServiceAdapter implements
Builder<Hardware> hardware = ImmutableSet.<Hardware> builder();
for (double cpu : new double[] { 1000, 5000, 10000, 20000 })
for (int ram : new int[] { 512, 1024, 4 * 1024, 16 * 1024, 32 * 1024 }) {
final float size = (float) ram * 10 / 1024;
final float size = (float) cpu / 100;
String id = String.format("cpu=%f,ram=%s,disk=%f", cpu, ram, size);
hardware.add(new HardwareBuilder().supportsImage(new Predicate<Image>() {