rosi-achmad commented on issue #12647:
URL: https://github.com/apache/cloudstack/issues/12647#issuecomment-3994839253
Hi @nvazquez im modified file
**vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/BaseMO.java** and
**vmware-base/src/main/java/com/cloud/hypervisor/vmware/util/VmwareHelper.java**
change:
else if (objProp.getName().equals("config.bootOptions")) {
VirtualMachineBootOptions bootOptions = (VirtualMachineBootOptions)
objProp.getVal();
String bootMode = "LEGACY";
if (bootOptions != null && bootOptions.isEfiSecureBootEnabled()) {
bootMode = "SECURE";
}
vm.setBootMode(bootMode);
}
to:
else if (objProp.getName().equals("config.bootOptions")) {
VirtualMachineBootOptions bootOptions = (VirtualMachineBootOptions)
objProp.getVal();
String bootMode = "LEGACY";
if (bootOptions != null &&
**Boolean.TRUE.equals(bootOptions.isEfiSecureBootEnabled()))** {
bootMode = "SECURE";
}
vm.setBootMode(bootMode);
}
i try to build from source and it worked
--
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]