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

 ##########
 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:
   Well, the *file* command simply behaves differently under Debian 9 then it 
does under Debian 7.
   
   See my commit for this change.
 
----------------------------------------------------------------
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