mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix empty server details for SharedMountPoint protocol (#891)
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
100251cfa9
commit
4e369c67de
@ -601,6 +601,7 @@ export default {
|
|||||||
params['details[' + index.toString() + '].' + key] = smbParams[key]
|
params['details[' + index.toString() + '].' + key] = smbParams[key]
|
||||||
})
|
})
|
||||||
} else if (values.protocol === 'PreSetup' && this.hypervisorType !== 'VMware') {
|
} else if (values.protocol === 'PreSetup' && this.hypervisorType !== 'VMware') {
|
||||||
|
server = 'localhost'
|
||||||
url = this.presetupURL(server, path)
|
url = this.presetupURL(server, path)
|
||||||
} else if (values.protocol === 'PreSetup' && this.hypervisorType === 'VMware') {
|
} else if (values.protocol === 'PreSetup' && this.hypervisorType === 'VMware') {
|
||||||
path = values.vCenterDataCenter
|
path = values.vCenterDataCenter
|
||||||
@ -619,6 +620,7 @@ export default {
|
|||||||
} else if (values.protocol === 'ocfs2') {
|
} else if (values.protocol === 'ocfs2') {
|
||||||
url = this.ocfs2URL(server, path)
|
url = this.ocfs2URL(server, path)
|
||||||
} else if (values.protocol === 'SharedMountPoint') {
|
} else if (values.protocol === 'SharedMountPoint') {
|
||||||
|
server = 'localhost'
|
||||||
url = this.SharedMountPointURL(server, path)
|
url = this.SharedMountPointURL(server, path)
|
||||||
} else if (values.protocol === 'CLVM') {
|
} else if (values.protocol === 'CLVM') {
|
||||||
var vg = (values.volumegroup.substring(0, 1) !== '/') ? ('/' + values.volumegroup) : values.volumegroup
|
var vg = (values.volumegroup.substring(0, 1) !== '/') ? ('/' + values.volumegroup) : values.volumegroup
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user