mirror of https://github.com/apache/cloudstack.git
server: get only Ready ISO to mount (#7848)
This commit is contained in:
parent
c8d6e50539
commit
d8a5c89060
|
|
@ -1215,7 +1215,7 @@ public class TemplateManagerImpl extends ManagerBase implements TemplateManager,
|
|||
tmplt = _tmplFactory.getReadyBypassedTemplateOnPrimaryStore(isoId, poolId, hostId);
|
||||
bypassed = true;
|
||||
} else {
|
||||
tmplt = _tmplFactory.getTemplate(isoId, DataStoreRole.Image, dcId);
|
||||
tmplt = _tmplFactory.getReadyTemplateOnImageStore(isoId, dcId);
|
||||
}
|
||||
|
||||
if (tmplt == null || tmplt.getFormat() != ImageFormat.ISO) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue