Skip to content

Commit a4d3780

Browse files
authored
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>
1 parent 9fd2d82 commit a4d3780

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/views/compute/DeployVM.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,7 @@ export default {
17131713
// step 2: select template/iso
17141714
if (this.tabKey === 'templateid') {
17151715
deployVmData.templateid = values.templateid
1716+
values.hypervisor = null
17161717
} else {
17171718
deployVmData.templateid = values.isoid
17181719
}

0 commit comments

Comments
 (0)