mirror of https://github.com/apache/jclouds.git
fixed image matches
This commit is contained in:
parent
ea83b1e47d
commit
3af390a4d3
|
@ -54,17 +54,17 @@ public class SoftLayerTemplateBuilderLiveTest extends BaseTemplateBuilderLiveTes
|
||||||
// For each os-type both 32- and 64-bit are supported.
|
// For each os-type both 32- and 64-bit are supported.
|
||||||
switch (input.family) {
|
switch (input.family) {
|
||||||
case UBUNTU:
|
case UBUNTU:
|
||||||
return !(input.version.equals("10.04") || input.version.equals("8"));
|
return input.version.equals("") || input.version.equals("10.04") || input.version.equals("8");
|
||||||
case DEBIAN:
|
case DEBIAN:
|
||||||
return !(input.version.equals("5.0"));
|
return input.version.equals("") || input.version.equals("5.0");
|
||||||
case FEDORA:
|
case FEDORA:
|
||||||
return !(input.version.equals("13") || input.version.equals("15"));
|
return input.version.equals("") || input.version.equals("13") || input.version.equals("15");
|
||||||
case RHEL:
|
case RHEL:
|
||||||
return !(input.version.equals("5") || input.version.equals("6"));
|
return input.version.equals("") || input.version.equals("5") || input.version.equals("6");
|
||||||
case CENTOS:
|
case CENTOS:
|
||||||
return !(input.version.equals("5") || input.version.equals("6.0"));
|
return input.version.equals("") || input.version.equals("5") || input.version.equals("6.0");
|
||||||
case WINDOWS:
|
case WINDOWS:
|
||||||
return !(input.version.equals("2003") || input.version.equals("2008"));
|
return input.version.equals("") || input.version.equals("2003") || input.version.equals("2008");
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue