mirror of https://github.com/apache/jclouds.git
template updates for cloudservers
This commit is contained in:
parent
e389ce0f2d
commit
605b2dbd25
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue