This is an automated email from the ASF dual-hosted git repository.
andrijapanic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 5091a96 registeroruploadtemplate: Setting osdefault as default
rootDiskControllerType
new fcc1190 Merge pull request #819 from shapeblue/default-rootdisk
5091a96 is described below
commit 5091a9638f75e5ecebd172b0c8ca2f02e36346e4
Author: davidjumani <[email protected]>
AuthorDate: Fri Oct 23 11:21:22 2020 +0530
registeroruploadtemplate: Setting osdefault as default
rootDiskControllerType
---
src/views/image/RegisterOrUploadTemplate.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/views/image/RegisterOrUploadTemplate.vue
b/src/views/image/RegisterOrUploadTemplate.vue
index 88d39f6..597685c 100644
--- a/src/views/image/RegisterOrUploadTemplate.vue
+++ b/src/views/image/RegisterOrUploadTemplate.vue
@@ -212,6 +212,7 @@
<a-form-item :label="$t('label.rootdiskcontrollertype')">
<a-select
v-decorator="['rootDiskControllerType', {
+ initialValue: rootDisk.opts.length > 0 ? 'osdefault' : '',
rules: [
{
required: true,