mirror of https://github.com/apache/cloudstack.git
don't listen to the monitors to pre-install the templates
This commit is contained in:
parent
7e167b71dd
commit
94863c866c
|
|
@ -264,7 +264,7 @@ public class SimulatorDiscoverer extends DiscovererBase implements Discoverer, L
|
|||
@Override
|
||||
public void processConnect(HostVO host, StartupCommand cmd, boolean forRebalance) throws ConnectionException {
|
||||
|
||||
if(forRebalance)
|
||||
/*if(forRebalance)
|
||||
return;
|
||||
if ( Host.Type.SecondaryStorage == host.getType() ) {
|
||||
List<VMTemplateVO> tmplts = _vmTemplateDao.listAll();
|
||||
|
|
@ -280,7 +280,7 @@ public class SimulatorDiscoverer extends DiscovererBase implements Discoverer, L
|
|||
_vmTemplateHostDao.update(vmTemplateHost.getId(), vmTemplateHost);
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue