mirror of https://github.com/apache/cloudstack.git
bug 5936: fix creating template
status 5936: closed fixed
This commit is contained in:
parent
16e981928a
commit
ba50928c3f
|
|
@ -1489,7 +1489,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
|
|||
String tmpltPath = _mountPoint + File.separator + secondaryStorage.getUUIDString() + templateInstallFolder;
|
||||
File mpfile = new File(tmpltPath);
|
||||
if (!mpfile.exists()) {
|
||||
mpfile.mkdir();
|
||||
mpfile.mkdirs();
|
||||
}
|
||||
|
||||
Script command = new Script(_createTmplPath, _timeout, s_logger);
|
||||
|
|
|
|||
Loading…
Reference in New Issue