fix devcloud: user template's guest os type is changed

This commit is contained in:
Edison Su 2014-01-13 15:37:22 -08:00
parent 8dda69952f
commit f2519cf5fc
1 changed files with 3 additions and 1 deletions

View File

@ -73,7 +73,9 @@ public class XcpOssResource extends CitrixResourceBase {
protected String getGuestOsType(String stdType, boolean bootFromCD) {
if (stdType.equalsIgnoreCase("Debian GNU/Linux 6(64-bit)")) {
return "Debian Squeeze 6.0 (64-bit)";
} else {
} else if (stdType.equalsIgnoreCase("CentOS 5.6 (64-bit)")) {
return "CentOS 5 (64-bit)";
} else {
return CitrixHelper.getXcpGuestOsType(stdType);
}
}