This commit is contained in:
Gustavo Rück 2026-07-04 15:33:24 +01:00 committed by GitHub
commit 666a13e569
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -100,14 +100,15 @@ export default {
label: 'label.change.service.offering',
message: 'message.confirm.scale.up.system.vm',
dataView: true,
show: (record) => { return record.state === 'Running' && record.hypervisor === 'VMware' || record.state === 'Stopped' },
show: (record) => { return record.state === 'Running' && (record.hypervisor === 'VMware' || record.hypervisor === 'KVM') || record.state === 'Stopped' },
args: ['serviceofferingid'],
mapping: {
serviceofferingid: {
api: 'listServiceOfferings',
params: (record) => { return { virtualmachineid: record.id, issystem: true, systemvmtype: record.systemvmtype } }
}
}
},
popup: true
},
{
api: 'migrateSystemVm',