vmware / open-vmdk

Apache License 2.0
115 stars 46 forks source link

efi.legacyBoot #56

Open RomanSzabados opened 6 months ago

RomanSzabados commented 6 months ago

Is your feature request related to a problem? Please describe.

Hi,

OVA VMs based on Ubuntu 2204 and exported by ova-compose do not start, as the bootloader is not detected. We have come to the conclusion, that the option "efi.legacyBoot.enabled" needs to be set to TRUE.

It is possible to provide this parameter within the config file for ova-compose? Thanks.

Describe the solution you'd like

Make this configurable via the system section:

system: name: example type: vmx-17 os_vmw: other4xLinux64Guest firmware: efi secure_boot: true legacyBoot: true default_configuration: grande

Describe alternatives you've considered

No response

Additional context

No response

oliverkurth commented 6 months ago

The option needs to be supported in the OVF file. Can you please export a VM that has that flag set from WS or Fusion as an OVF, and see how it gets set inside the OVF file?

oliverkurth commented 6 months ago

I think I have a solution: in the yaml file, set this:

extra_configs:
    efi.legacyBoot.enabled:
        value: TRUE

Please try and let me know if it works.