mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix raw templates not being downloaded (#3993)
This commit is contained in:
parent
78fda2d163
commit
809dc33532
@ -57,7 +57,7 @@ public class ImageStoreUtil {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
// raw
|
// raw
|
||||||
if ((output.contains("x86 boot") || output.contains("data")) && (isCorrectExtension(uripath, "raw") || isCorrectExtension(uripath, "img"))) {
|
if ((output.contains("x86 boot") || output.contains("DOS/MBR boot sector") || output.contains("data")) && (isCorrectExtension(uripath, "raw") || isCorrectExtension(uripath, "img"))) {
|
||||||
s_logger.debug("File at path " + path + " looks like a raw image :" + output);
|
s_logger.debug("File at path " + path + " looks like a raw image :" + output);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user