mirror of https://github.com/apache/cloudstack.git
set creating template timeout from cmds.timeout
This commit is contained in:
parent
42896d8212
commit
42d45efa44
|
|
@ -1399,7 +1399,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
_storage.mkdirs(templatePath);
|
||||
|
||||
String tmplPath = templateInstallFolder + File.separator + tmplFileName;
|
||||
Script command = new Script(_createTmplPath, _timeout, s_logger);
|
||||
Script command = new Script(_createTmplPath, _cmdsTimeout, s_logger);
|
||||
command.add("-t", templatePath);
|
||||
command.add("-n", tmplFileName);
|
||||
command.add("-f", snapshotPath);
|
||||
|
|
@ -1477,7 +1477,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
String tmpltPath = spd.getTargetPath() + File.separator + templateInstallFolder;
|
||||
_storage.mkdirs(tmpltPath);
|
||||
|
||||
Script command = new Script(_createTmplPath, _timeout, s_logger);
|
||||
Script command = new Script(_createTmplPath, _cmdsTimeout, s_logger);
|
||||
command.add("-f", cmd.getVolumePath());
|
||||
command.add("-t", tmpltPath);
|
||||
command.add("-n", cmd.getUniqueName() + ".qcow2");
|
||||
|
|
|
|||
Loading…
Reference in New Issue