DaanHoogland commented on a change in pull request #3638: UEFI Support on
CloudStack
URL: https://github.com/apache/cloudstack/pull/3638#discussion_r391682393
##########
File path:
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
##########
@@ -2368,8 +2455,12 @@ public int compare(final DiskTO arg0, final DiskTO
arg1) {
int devId = volume.getDiskSeq().intValue();
if (volume.getType() == Volume.Type.ISO) {
if (volPath == null) {
- /* Add iso as placeholder */
- disk.defISODisk(null, devId);
+ if (isSecureBoot) {
+ disk.defISODisk(null,
devId,isSecureBoot,isWindowsTemplate);
+ } else {
+ /* Add iso as placeholder */
+ disk.defISODisk(null, devId);
+ }
Review comment:
please extract, see above
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services