mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
storage: VMware storage capabilities fixes (#580)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
8155fa7b66
commit
2493a08922
@ -488,16 +488,16 @@ export default {
|
||||
Object.keys(smbParams).forEach((key, index) => {
|
||||
params['details[' + index.toString() + '].' + key] = smbParams[key]
|
||||
})
|
||||
} else if (values.protocol === 'PreSetup' && values.hypervisor !== 'VMware') {
|
||||
} else if (values.protocol === 'PreSetup' && this.hypervisorType !== 'VMware') {
|
||||
url = this.presetupURL(server, path)
|
||||
} else if (values.protocol === 'PreSetup' && values.hypervisor === 'VMware') {
|
||||
} else if (values.protocol === 'PreSetup' && this.hypervisorType === 'VMware') {
|
||||
path = values.vCenterDataCenter
|
||||
if (path.substring(0, 1) !== '/') {
|
||||
path = '/' + path
|
||||
}
|
||||
path += '/' + values.vCenterDataStore
|
||||
url = this.presetupURL(server, path)
|
||||
} else if (values.protocol === 'datastorecluster' && values.hypervisor === 'VMware') {
|
||||
} else if (values.protocol === 'datastorecluster' && this.hypervisorType === 'VMware') {
|
||||
path = values.vCenterDataCenter
|
||||
if (path.substring(0, 1) !== '/') {
|
||||
path = '/' + path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user