diff --git a/ui/src/config/section/infra/hosts.js b/ui/src/config/section/infra/hosts.js index d19577b073c..f4bfa7cf4a8 100644 --- a/ui/src/config/section/infra/hosts.js +++ b/ui/src/config/section/infra/hosts.js @@ -205,9 +205,13 @@ export default { label: 'label.ha.configure', dataView: true, args: ['hostid', 'provider'], + show: (record) => { return ['KVM'].includes(record.hypervisor) }, mapping: { hostid: { value: (record) => { return record.id } + }, + provider: { + options: ['KVMHAProvider'] } } }, diff --git a/ui/src/config/section/infra/zones.js b/ui/src/config/section/infra/zones.js index fe1b3d94cc2..696c440b0c4 100644 --- a/ui/src/config/section/infra/zones.js +++ b/ui/src/config/section/infra/zones.js @@ -208,7 +208,7 @@ export default { label: 'label.update.vmware.datacenter', dataView: true, show: (record) => { return record.vmwaredcid }, - args: ['zoneid', 'name', 'vcenter', 'username', 'password', 'isrecursive'], + args: ['zoneid', 'name', 'vcenter', 'username', 'password'], mapping: { zoneid: { value: (record) => { return record.id }