diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js index 787ed3518e..2a7d361f33 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/storage/disk-tab.js @@ -166,6 +166,10 @@ define(function(require) { function _fill(context, templateJSON) { var selectedContext; + if(templateJSON.SIZE){ + templateJSON.SIZE = templateJSON.SIZE / 1024; + } + if (templateJSON.IMAGE_ID || templateJSON.IMAGE) { $('input#' + this.diskTabId + 'radioImage', context).click();