Added WEBAPPVM image (right now only available on Terremark)

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2657 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
lili.recusant 2010-01-15 22:24:32 +00:00
parent b85dbd8109
commit bc334b9447
2 changed files with 3 additions and 3 deletions

View File

@ -22,5 +22,5 @@ package org.jclouds.compute.domain;
* @author Adrian Cole * @author Adrian Cole
*/ */
public enum Image { public enum Image {
CENTOS_53, RHEL_53, UBUNTU_90, UBUNTU_JEOS_90 CENTOS_53, RHEL_53, UBUNTU_90, UBUNTU_JEOS_90, WEBAPPVM_93
} }

View File

@ -70,7 +70,7 @@ public class TerremarkVCloudComputeClient {
private Map<Image, String> imageCatalogIdMap = ImmutableMap.<Image, String> builder().put( private Map<Image, String> imageCatalogIdMap = ImmutableMap.<Image, String> builder().put(
Image.CENTOS_53, "6").put(Image.RHEL_53, "8").put(Image.UBUNTU_90, "10").put( Image.CENTOS_53, "6").put(Image.RHEL_53, "8").put(Image.UBUNTU_90, "10").put(
Image.UBUNTU_JEOS_90, "11").build(); Image.UBUNTU_JEOS_90, "11").put(Image.WEBAPPVM_93, "29").build();
public String start(String name, Image image, int minCores, int minMegs, public String start(String name, Image image, int minCores, int minMegs,
Map<String, String> properties) { Map<String, String> properties) {