rhtyd commented on a change in pull request #2211: CLOUDSTACK-10013: Migrate 
systemvmtemplate to Debian9
URL: https://github.com/apache/cloudstack/pull/2211#discussion_r132454805
 
 

 ##########
 File path: 
utils/src/main/java/org/apache/cloudstack/utils/imagestore/ImageStoreUtil.java
 ##########
 @@ -81,7 +81,7 @@ public static String checkTemplateFormat(String path, String 
uripath) {
             return "";
         }
 
-        if (output.contains("ISO 9660") && isCorrectExtension(uripath, "iso")) 
{
+        if ((output.startsWith("ISO 9660") || output.startsWith("DOS/MBR")) && 
isCorrectExtension(uripath, "iso")) {
 
 Review comment:
   We might need to revisit this, this should not happen. 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to