mirror of https://github.com/apache/cloudstack.git
vmware - not reqiured to add host, host will be added as part of cluster
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
2691970f28
commit
b3e2871e73
|
|
@ -84,8 +84,9 @@ specify a valid config file" % cfgFile)
|
|||
clusterresponse = self.apiClient.addCluster(clustercmd)
|
||||
clusterId = clusterresponse[0].id
|
||||
|
||||
self.addHosts(cluster.hosts, zoneId, podId, clusterId,
|
||||
cluster.hypervisor)
|
||||
if cluster.hypervisor.lower() != "vmware":
|
||||
self.addHosts(cluster.hosts, zoneId, podId, clusterId,
|
||||
cluster.hypervisor)
|
||||
self.createPrimaryStorages(cluster.primaryStorages, zoneId, podId,
|
||||
clusterId)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue