mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
allow multiple clusters for baremetal
This commit is contained in:
parent
1ef620121a
commit
fec9cc86af
@ -139,7 +139,7 @@ public class BareMetalDiscoverer extends DiscovererBase implements Discoverer, R
|
|||||||
|
|
||||||
ClusterVO clu = _clusterDao.findById(clusterId);
|
ClusterVO clu = _clusterDao.findById(clusterId);
|
||||||
if (clu.getGuid() == null) {
|
if (clu.getGuid() == null) {
|
||||||
clu.setGuid("/root");
|
clu.setGuid(UUID.randomUUID().toString());
|
||||||
_clusterDao.update(clusterId, clu);
|
_clusterDao.update(clusterId, clu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user