Skip to content

Commit f2519cf

Browse files
committed
fix devcloud: user template's guest os type is changed
1 parent 8dda699 commit f2519cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ protected void fillHostInfo(Connection conn, StartupRoutingCommand cmd) {
7373
protected String getGuestOsType(String stdType, boolean bootFromCD) {
7474
if (stdType.equalsIgnoreCase("Debian GNU/Linux 6(64-bit)")) {
7575
return "Debian Squeeze 6.0 (64-bit)";
76-
} else {
76+
} else if (stdType.equalsIgnoreCase("CentOS 5.6 (64-bit)")) {
77+
return "CentOS 5 (64-bit)";
78+
} else {
7779
return CitrixHelper.getXcpGuestOsType(stdType);
7880
}
7981
}

0 commit comments

Comments
 (0)