mirror of https://github.com/apache/cloudstack.git
bug 12711: make sure NFS storage is not considered as local storage
This commit is contained in:
parent
2dedf6a20b
commit
c23e998bdb
|
|
@ -628,7 +628,7 @@ public class HostMO extends BaseMO implements VmwareHypervisorHost {
|
|||
if(ocs != null) {
|
||||
for(ObjectContent oc : ocs) {
|
||||
DatastoreSummary dsSummary = (DatastoreSummary)VmwareHelper.getPropValue(oc, "summary");
|
||||
if(dsSummary.getMultipleHostAccess() == false) {
|
||||
if(dsSummary.getMultipleHostAccess() == false && dsSummary.isAccessible() && dsSummary.getType().equalsIgnoreCase("vmfs")) {
|
||||
ManagedObjectReference morDs = oc.getObj();
|
||||
String name = (String)VmwareHelper.getPropValue(oc, "name");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue