continue with the Zone deployment without shared primary storage (#908)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Hoang Nguyen 2021-01-05 13:45:03 +07:00 committed by Rohit Yadav
parent 8430bedd99
commit ecf5e92af9
1 changed files with 9 additions and 5 deletions

View File

@ -130,6 +130,8 @@ export default {
steps () {
const steps = []
const hypervisor = this.prefillContent.hypervisor ? this.prefillContent.hypervisor.value : null
const localStorageEnabled = this.prefillContent.localstorageenabled.value
const localStorageEnabledForSystemVM = this.prefillContent.localstorageenabledforsystemvm.value
steps.push({
title: 'label.cluster',
fromKey: 'clusterResource',
@ -142,11 +144,13 @@ export default {
description: 'message.desc.host'
})
}
steps.push({
title: 'label.primary.storage',
fromKey: 'primaryResource',
description: 'message.desc.primary.storage'
})
if (!localStorageEnabled || !localStorageEnabledForSystemVM) {
steps.push({
title: 'label.primary.storage',
fromKey: 'primaryResource',
description: 'message.desc.primary.storage'
})
}
steps.push({
title: 'label.secondary.storage',
fromKey: 'secondaryResource',