You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2022/12/07 12:10:56 UTC

[cloudstack] branch 4.17 updated: ui: fix incorrect hypervisor in deploy VM wizard (#6952)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new a4d3780143 ui: fix incorrect hypervisor in deploy VM wizard (#6952)
a4d3780143 is described below

commit a4d37801437af045a6e6043d859ca8bd9973e717
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Wed Dec 7 20:10:50 2022 +0800

    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 <ab...@gmail.com>
---
 ui/src/views/compute/DeployVM.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue
index 39946eeabc..df269f1b4b 100644
--- a/ui/src/views/compute/DeployVM.vue
+++ b/ui/src/views/compute/DeployVM.vue
@@ -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
         }