template updates for cloudservers

This commit is contained in:
Adrian Cole 2012-03-09 16:51:26 -08:00
parent e389ce0f2d
commit 605b2dbd25
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class CloudServersUKTemplateBuilderLiveTest extends BaseTemplateBuilderLi
return (input.version.equals("") || input.version.equals("10.04") || input.version.startsWith("11")) return (input.version.equals("") || input.version.equals("10.04") || input.version.startsWith("11"))
&& input.is64Bit; && input.is64Bit;
case DEBIAN: case DEBIAN:
return input.is64Bit && !input.version.matches("[56].0"); return input.is64Bit && !input.version.equals("5.0");
case CENTOS: case CENTOS:
return (input.version.equals("") || input.version.equals("5.6") || input.version.equals("6.0")) return (input.version.equals("") || input.version.equals("5.6") || input.version.equals("6.0"))
&& input.is64Bit; && input.is64Bit;

View File

@ -55,7 +55,7 @@ public class CloudServersUSTemplateBuilderLiveTest extends BaseTemplateBuilderLi
return (input.version.equals("") || input.version.equals("10.04") || input.version.startsWith("11")) return (input.version.equals("") || input.version.equals("10.04") || input.version.startsWith("11"))
&& input.is64Bit; && input.is64Bit;
case DEBIAN: case DEBIAN:
return input.is64Bit && !input.version.matches("[56].0"); return input.is64Bit && !input.version.equals("5.0");
case CENTOS: case CENTOS:
return (input.version.equals("") || input.version.equals("5.6") || input.version.equals("6.0")) return (input.version.equals("") || input.version.equals("5.6") || input.version.equals("6.0"))
&& input.is64Bit; && input.is64Bit;