updated to latest gogrid images

This commit is contained in:
Adrian Cole 2011-09-25 14:31:26 -07:00
parent 09cef638ed
commit d5a6950864
1 changed files with 3 additions and 3 deletions

View File

@ -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: