mirror of https://github.com/apache/jclouds.git
updated centos versions
This commit is contained in:
parent
4cd94489c9
commit
d4323d1ffd
|
@ -69,7 +69,7 @@ public class AWSEC2TemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest {
|
|||
case DEBIAN:
|
||||
return true;
|
||||
case CENTOS:
|
||||
return input.version.matches("5.[42]") || input.version.equals("");
|
||||
return input.version.matches("5.[246]") || input.version.equals("");
|
||||
case WINDOWS:
|
||||
return input.version.matches("200[38]") || input.version.equals("");
|
||||
default:
|
||||
|
|
|
@ -56,7 +56,7 @@ public class CloudServersUKTemplateBuilderLiveTest extends BaseTemplateBuilderLi
|
|||
case DEBIAN:
|
||||
return input.is64Bit;
|
||||
case CENTOS:
|
||||
return (input.version.equals("") || input.version.matches("5.[45]")) && input.is64Bit;
|
||||
return !(input.version.matches("5.[0237]") || input.version.equals("6.0")) && input.is64Bit;
|
||||
case WINDOWS:
|
||||
return input.version.equals("2008 SP2") || input.version.equals("")
|
||||
|| (input.version.equals("2008 R2") && input.is64Bit);
|
||||
|
|
|
@ -56,7 +56,7 @@ public class CloudServersUSTemplateBuilderLiveTest extends BaseTemplateBuilderLi
|
|||
case DEBIAN:
|
||||
return input.is64Bit;
|
||||
case CENTOS:
|
||||
return !(input.version.matches("5.[023]")) && input.is64Bit;
|
||||
return !(input.version.matches("5.[0237]") || input.version.equals("6.0")) && input.is64Bit;
|
||||
case WINDOWS:
|
||||
return input.version.equals("2008 SP2") || input.version.equals("")
|
||||
|| (input.version.equals("2008 R2") && input.is64Bit);
|
||||
|
|
|
@ -61,7 +61,7 @@ public class SlicehostTemplateBuilderLiveTest extends BaseTemplateBuilderLiveTes
|
|||
return input.version.equals("") && input.is64Bit;
|
||||
case CENTOS:
|
||||
return input.version.equals("") || input.version.matches("5.[45]")
|
||||
|| (input.version.equals("5.0") && input.is64Bit);
|
||||
|| (input.version.matches("5.[06]") && input.is64Bit);
|
||||
case WINDOWS:
|
||||
return input.version.equals("") || (input.version.equals("2008 SP2") && !input.is64Bit)
|
||||
|| input.version.equals("") || (input.version.equals("2008 R2") && input.is64Bit);
|
||||
|
|
Loading…
Reference in New Issue