mirror of https://github.com/apache/cloudstack.git
Bug 8208 - bare metal provisioning
exclude baremtal when handleTemplateSync
This commit is contained in:
parent
a7ea3ecae3
commit
bd3531b374
|
|
@ -522,6 +522,8 @@ public class DownloadMonitorImpl implements DownloadMonitor {
|
|||
}
|
||||
/*Only download templates whose hypervirsor type is in the zone*/
|
||||
List<HypervisorType> availHypers = _clusterDao.getAvailableHypervisorInZone(sserver.getDataCenterId());
|
||||
/* Baremetal need not to download any template */
|
||||
availHypers.remove(HypervisorType.BareMetal);
|
||||
for (VMTemplateVO tmplt: toBeDownloaded) {
|
||||
|
||||
if (tmplt.getUrl() == null){ // If url is null we cant initiate the download so mark it as an error.
|
||||
|
|
|
|||
Loading…
Reference in New Issue