davidjumani commented on a change in pull request #5974:
URL: https://github.com/apache/cloudstack/pull/5974#discussion_r805516760
##########
File path: ui/src/views/compute/DeployVM.vue
##########
@@ -1442,6 +1444,9 @@ export default {
if (template) {
var size = template.size / (1024 * 1024 * 1024) || 0 // bytes to GB
this.dataPreFill.minrootdisksize = Math.ceil(size)
+ this.defaultBootType = this.template?.details?.UEFI ? 'UEFI' : ''
+ this.fetchBootModes(this.defaultBootType)
+ this.defaultBootMode = this.template?.details?.UEFI
Review comment:
The boot type is determined if the `UEFI` key is present in the template
details
the boot mode is the value of the key if present
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]