CLOUDSTACK-7123: set the timeout to 60s, when run the file command

This commit is contained in:
Edison Su 2014-07-18 12:07:36 -07:00
parent 9fb93fe5b3
commit 51c14106d8
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class TemplateUtils {
if (isCompressedExtension(url)) {
command = "file -z ";
}
String output = Script.runSimpleBashScript(command + path + " | cut -d: -f2", 1000);
String output = Script.runSimpleBashScript(command + path + " | cut -d: -f2", 60000);
// vmdk
if ((output.contains("VMware") || output.contains("data")) && isCorrectExtension(url, "vmdk")) {