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/07/29 12:12:42 UTC

[cloudstack] branch 4.17 updated: ui: fix deploy vm override custom disk offering (#6586)

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 2a37897055 ui: fix deploy vm override custom disk offering (#6586)
2a37897055 is described below

commit 2a37897055eeac842e6a19dbfb3ae6b31fe9d086
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Fri Jul 29 17:42:35 2022 +0530

    ui: fix deploy vm override custom disk offering (#6586)
    
    Fixes #6585
    
    Signed-off-by: Abhishek Kumar <ab...@gmail.com>
---
 ui/src/views/compute/DeployVM.vue | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue
index 49554c699b..dadecd9941 100644
--- a/ui/src/views/compute/DeployVM.vue
+++ b/ui/src/views/compute/DeployVM.vue
@@ -1746,6 +1746,9 @@ export default {
         }
         if (!this.serviceOffering.diskofferingstrictness && values.overridediskofferingid) {
           deployVmData.overridediskofferingid = values.overridediskofferingid
+          if (values.rootdisksize && values.rootdisksize > 0) {
+            deployVmData.rootdisksize = values.rootdisksize
+          }
         }
         if (this.isCustomizedIOPS) {
           deployVmData['details[0].minIops'] = this.minIops