mirror of https://github.com/apache/cloudstack.git
ui: fix incorrect hypervisor in deploy VM wizard (#6952)
Fixes #6756 Pass hypervisor parameter for deployVirtualMachine API only when ISO is selected and not for a template. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
9fd2d82af9
commit
a4d3780143
|
|
@ -1713,6 +1713,7 @@ export default {
|
|||
// step 2: select template/iso
|
||||
if (this.tabKey === 'templateid') {
|
||||
deployVmData.templateid = values.templateid
|
||||
values.hypervisor = null
|
||||
} else {
|
||||
deployVmData.templateid = values.isoid
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue