mirror of https://github.com/apache/jclouds.git
updated to latest gogrid images
This commit is contained in:
parent
09cef638ed
commit
d5a6950864
|
@ -53,13 +53,13 @@ public class GoGridTemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest {
|
||||||
public boolean apply(OsFamilyVersion64Bit input) {
|
public boolean apply(OsFamilyVersion64Bit input) {
|
||||||
switch (input.family) {
|
switch (input.family) {
|
||||||
case RHEL:
|
case RHEL:
|
||||||
return input.version.equals("") || input.version.equals("5.4");
|
return input.version.equals("") || input.version.matches("5.[67]");
|
||||||
case DEBIAN:
|
case DEBIAN:
|
||||||
return input.version.equals("") || input.version.equals("5.0");
|
return input.version.equals("") || input.version.matches("[56].0");
|
||||||
case UBUNTU:
|
case UBUNTU:
|
||||||
return input.version.equals("") || input.version.equals("10.04");
|
return input.version.equals("") || input.version.equals("10.04");
|
||||||
case CENTOS:
|
case CENTOS:
|
||||||
return input.version.equals("") || input.version.matches("5.[35]");
|
return input.version.equals("") || input.version.matches("5.[56]") || input.version.equals("6.0");
|
||||||
case WINDOWS:
|
case WINDOWS:
|
||||||
return input.version.equals("") || input.version.matches("200[38]");
|
return input.version.equals("") || input.version.matches("200[38]");
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue